Quote:
Originally posted by rbayer
Parallax has said from the beginning that the alpha/beta versions won't have syntax highlighting but the final version will.
There is no "switch" command. There is a SELECT...CASE...ENDSELECT structure, which does the same thing. Ie:
SELECT counter
CASE 0 TO 100
'do stuff
CASE 101 TO 200
'do other stuff
CASE 201 TO 255
'do even more other stuff
CASE ELSE
'stuff to do if none of the previous cases match
ENDSELECT
There's other things you can put after CASE also (such as a single number or an operator and a number (ie >5)), but the above code is the basics.
--Rob
|
D'oh...all well, sorry about that. I thought I mixed it up. Can you do "CASE > 4" or just "CASE pw_12 > 4"?