? text after RETURN and before END doesn't cause errors (Page 1) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password

text after RETURN and before END doesn't cause errors

  • #1 ✎ 171 DFrost Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Try this code: COMMON DEF something RETURN'RETURNS NULL Hello this is cool. END Posted Edited by DFrost
  • #2 ✎ 159 CyberYoshi64 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself Interesting. I think that SB thinks that these are custom functions. It's like Instr. Hello Instr. this Instr. is Instr. cool with an argument 0 I tried my name in Japanese form and it will Syntax Error out. 'Cause it uses Katakana and is not interpretable as code. Posted
  • #3 ✎ 171 DFrost Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength ikr i had the same theory It does cause errors when you use tokens, though. Posted Edited by DFrost
  • #4 ✎ 1690 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself https://smilebasicsource.com/forum?ftid=877 Posted
  • #5 ✎ 159 CyberYoshi64 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself
    ... It does cause errors when you use tokens.
    That isn't really true COMMON DEF blablabla RETURN '--- Variants GOOD+WEIRD'You can't add something to an instruction itself BAD PROGRAMS+OTHERS'PROGRAMS+OTHERS is treated as an argument SELF-EXPLANATORY? NO.'A SELF "instruction" can't be subtracted by an EXPLANATORY "variable". NO. would work fine. '--- Back to code END I noticed that even using this DEF in a program won't crash it. (USE and EXEC included)
    Posted