Qbasicnews.com

Full Version: What does TO$ do?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I noticed that there occures an error in the program I'm porting and it seems that I isn't allowed to use the variable TO$.

Is this any special variable like DATE$, etc.?

What is it for?
my guss would be TO is part of the syntex of the lan i.e.

For x = 1 TO 50
next x


the parser most likely see's this as a syntex token and not a string varible. just guss here Smile
No reserved word can be used as variable in FB, doesn't matter if the var has a suffix or not, that's a difference from QB, but keywords can be used in function prototypes arguments and type fields.