Agreed, but then you have to remember 1= "menu", 2= "game" and so-on. Strings just make the code easier to read.
You're right, using numbers in code is hard to read. But using constants makes it clear again, such as:
CONSTANT STATE_MENU = 1
CONSTANT STATE_GAME = 2
SELECT player.state
CASE STATE_MENU
...
CASE STATE_GAME
...
ENDSELECT
Am I crazy, or is the 'CONSTANT' command not listed in the help file?
I was checking if you can use '%' in a constant definition, such as "CONSTANT STATE_MENU% = 1".
It doesn't give me an error, so I assume so. It may also infer the type by the fact that is has no decimal places.