Lbl
#1
Posted 21 June 2004 - 03:53 AM
i was wandering if it is possible to have say: "Lbl 5 and Lbl 5" in the same program
or would if stuff things up??
this is for CFX by the way
thanks
Mr Sparkle
#2
Posted 21 June 2004 - 04:51 AM
#3
Posted 21 June 2004 - 06:12 AM
I was wondering, since the labels can only be named by letters,(Lbl Z), or by numbers (Lbl 4), or in special cases, lbl r and lbl theta, has anyone tried to name their labels like lbl 19 or lbl AA or lbl A1? How will that turn out?
#4
Posted 21 June 2004 - 06:32 AM
yeah ive tried to put Lbl AA etc but it doesnt work
pity
ive programmed this game and i discovered that it had Lbl 5 and Lbl 5 both in the same program, i havn't noticed anything wrong but there mite not be something coming up properly or something.
i would rename it but im not sure about which Goto goes to which and which to change
thanks
Mr Sparkle
#5
Posted 21 June 2004 - 07:10 AM
#6
Posted 21 June 2004 - 08:55 AM
#7
Posted 23 June 2004 - 09:19 PM
If you want to have more Lbl that 38 (A-Z 0-9 tetha...) you can do a second program and in the second program you can do other Labels.
But when zou do a program, you needn't use Lbl and Goto if you want that the program no bug, because you must use in max the If, Do-LpWhile,...
#8
Posted 24 June 2004 - 11:08 AM
ohh well
i figure it out
thanks for all your posts
Mr Sparkle
#9
Posted 25 June 2004 - 10:34 AM
Actually, it selects the first Lbl in the program, because the Goto command starts a scan for the Lbl from the start. This is why the Lbl command is so slow.heh, as far as i can tell it selects the closest label to the goto. if you want additional programming tips search this forum for "Casio BASIC Tutorial"
Another use of multiple programs (I've never done this though) is to put a bit of your program across many of them so its easier to handle and faster to edit, so you can put them all together in the end or keep them separate.
Personally, I don't like the r and Theta variables because of their inconsistency with the alphabetic variables and only use them as a last resort or in maths programs involving those variables.
#10
Posted 25 June 2004 - 11:26 AM
#11
Posted 25 June 2004 - 10:44 PM
and i assume that Delay loops are the same sort of idea as say
Lbl 1
"chicken noodles"
Goto 1
but they are delayed instead of just continueing with no break??
Mr Sparkle
#12
Posted 26 June 2004 - 12:18 AM
For 1->T To 300
Next
it does nothing but put a slight pause in the program. btw, 300 is my favorite number to delay by
#13
Posted 26 June 2004 - 03:17 AM
#14
Posted 26 June 2004 - 11:57 AM
For 1->A To 10 69! Next
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users