LoginLogin

Exceeding the max variable/function/label name length fails silently

Root / SmileBASIC Bug Reports / [.]

12Me21Created:
If a variable, function, or label has a name longer than 1024 characters (including type suffix and @), you will not be able to access it.
(name longer than 1024 characters)=1
PRINT (name longer than 1024 characters) '0

DEF (name longer than 1024 characters)
END
(name longer than 1024 characters) 'syntax error (undefined function)

@(name longer than 1023 characters)
GOTO @(name longer than 1023 characters) 'Undefined label error

Strange. Well, I guess I just have to remember to make my variable names shorter. No wonder that one program wasn't working...

yeah all my variable names were 10-paragraph-long descriptions... hmm...