QLogo icon indicating copy to clipboard operation
QLogo copied to clipboard

[STOP] token returns after nested FOR loops

Open jasonsikes opened this issue 1 year ago • 0 comments

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"?

jasonsikes avatar Oct 31 '23 15:10 jasonsikes