I have a Switch-Case statement inside of a Repeat loop. If I try to force the loop with the Continue statement after a Case statement the program freezes. With a level 2 argument the Continue works as I would have expected.
Here is an example with a While loop:
Code: Select all
a=0
While a<3
a=a+1
DebugPrint("\n",a)
Switch a
Case 1:
DebugPrint("Case 1")
Case 2:
DebugPrint("Case 2")
;Continue(2) ; works
Continue ; freezes
EndSwitch
DebugPrint("after Switch",a)
Wend
Ralf