Posts: 10
Threads: 2
Joined: Nov 2003
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.....
Posts: 31
Threads: 3
Joined: Nov 2003
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.
Posts: 3,343
Threads: 83
Joined: Mar 2003
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?
Posts: 3,279
Threads: 170
Joined: Nov 2003
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.
Posts: 31
Threads: 3
Joined: Nov 2003
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.
Posts: 3,368
Threads: 195
Joined: Jan 2003
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.