? Exceeding the max variable/function/label name length fails silently (Page 1) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password
This website has been moved, please see this post

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

  • #1 ✎ 1882 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself 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 Posted Edited by 12Me21
  • #2 ✎ 90 HackTheWorlds Second Year My account is over 2 years old Website Summer 2016 Contest Participant I participated in the SmileBASIC Source Summer 2016 Contest! Programming Contest Reading I like to read books! Hobbies Strange. Well, I guess I just have to remember to make my variable names shorter. No wonder that one program wasn't working... Posted
  • #3 ✎ 1882 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself yeah all my variable names were 10-paragraph-long descriptions... hmm... Posted Edited by 12Me21