Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My First Game, M.A.G.E
#31
Okay, fine, how about this, I will use LET to organize everything and in the final version get rid of them. I am so used to seeing all caps at the start of each line that just doing stupid = 0 seems a little awkward while programming, and already I can lose my place.

*vomits*

:barf:

And I think should stop programming for a while, I am sick right now and had no sleep last night. I think I was crazy with a fever cause I was losing sleep with the repeating image of me trying to stop the varible Q from saying the same line over and over and over again, I keep going back to delete it, but it wouldn't go away......

Ugh.
rogram = no sweat

Compiling is the real challange.....
Reply
#32
If you want captitals just make the variables capitials. It doesn't matter to the program. I try not to use lowercase variables as I am trying to make my program portable with Applesoft basic and that doesn't allow lower case variables.
eace is desirable but, War is inevitable.
Reply
#33
Doesn't apple basic distinguish variables by the first two letters only anyway?

Or is that some other version of basic I'm thinking of?
Reply
#34
Quote:Doesn't apple basic distinguish variables by the first two letters only anyway?

yup. good ol' apple basic.

[fond memory]Ahh, the days when I used to code in apple. And then, one day while xploring the computers at my school I found a program that :o LET YOU PROGRAM IN BASIC W/O DOING IT ONE LINE AT A TIME!!! NO WAY!!!![/fond memory]

I been hooked ever since Wink
Reply
#35
The Commodore 64's built-in BASIC (v2) also distinguished variables by the first two characters.
I'd knock on wood, but my desk is particle board.
Reply
#36
Yeah for the most part . it can distinguish between AB(1) and AB.
But, not AB and AB1. Though it does allow the larger sized variables to make your program more readable.
But still not incluyuding arrays ot sr sting varibles that is 962 variables 26(first character must be alphabet) times 36(alphanumeric) + 26 for single letter variables though some are reserved words like AT and TO. And, since you can use if need string varibles for numbers you can have double that without arrays.
Here is how yout can add two string varibles holding numbers without using numeric varibles.

AB$ = STR$(VAL(A$) + VAL(B$))
I use apple 2 emulators and often make the same program for both it and qbasic.
eace is desirable but, War is inevitable.
Reply
#37
inevitable.
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)