Came upon a strange can't do that in the IDE. See below the pointless program:
for x=1 to 10
print x,;
for y=1 to 2
if x=6 then exit for
print y,;
next y
print
next x
This pointless program if it could be entered, would print nine groups of x count, with y counts in between. Except when x is equal to 6.
My expectation would be the last setup "for" command, would follow the "exit for". And exit at the print between the two next's. Very much like push and pop assembler commands.
I had a use for a lot of nested "for setups", which needed conditional nested exit's. This example is a pointless program. Don't need a fix for it. Just wanted to know if it's a real bug or not in the IDE, or Qb64.
Sorry I come up with strange uses for QB64. But then only QB64 will do it.
Thanks