QLogo
QLogo copied to clipboard
[STOP] token returns after nested FOR loops
Found and reported by Guido Gay via LinkedIn.
When executing this line:
FOR [X 1 1 1] [FOR [Y 1 1 1] [PRINT "HI]]
An error is returned: "You don't say what to do with [STOP]".
Interestingly, this line does not result in an error:
FOR [X 1 1 1] [FOR [Y 1 1 1] [PRINT "HI] PRINT "HELLO]
Perhaps the problem is how lists are treated by macros or by ".MAYBEOUTPUT"?