Label not found for exit (1.42)

Archives Forums/BlitzMax Bug Reports/Label not found for exit (1.42)

Tharmon(Posted 2011) [#1]
The following code gives a compile error "Continue/Exit label 'label' not found".

#label
Repeat
  j = j + 1
  Repeat
    i = i + 1
    If i = 10 And j = 10
      Exit label
    EndIf
  Until i = 10
  i = 0
Forever



Floyd(Posted 2011) [#2]
This only works in strict mode.

That may not be in the docs, but is mentioned in the versions.txt file.