07-09-2013, 03:12 PM
Hello, everyone! First time poster here.
While working on my second ZXBasic game, I accidentally discovered a syntax feature I can't seem to find documented anywhere.
Namely, a backslash at the end of a line causes it to be concatenated with the next one. That also works inside a comment, in which case the next line is "eaten up". That's more or less like in C, if I remember correctly, but in ZXBasic it surprised me because the wiki only mentions the underscore as a continuation line.
Is there anything I missed?
While working on my second ZXBasic game, I accidentally discovered a syntax feature I can't seem to find documented anywhere.
Namely, a backslash at the end of a line causes it to be concatenated with the next one. That also works inside a comment, in which case the next line is "eaten up". That's more or less like in C, if I remember correctly, but in ZXBasic it surprised me because the wiki only mentions the underscore as a continuation line.
Is there anything I missed?