Oxygen Basic
Information => Open Forum => Topic started by: Peter on October 08, 2011, 10:42:10 AM
-
Deleted
-
:D
Which command EXITFOR or GOTO.
And by the way why you post this here on Oxygen Forum >:(
-
he has took that evil GOTO
Is jmp evil in ASM?
-
jmp fwd is a little smarter the goto, since it restricts the direction of linkage and allows the same label name to be used more than once.
xit:
'...
jmp fwd xit:
'...
xit:
The priority direction of linkage is backwards, so goto would send this code into a perpetual loop.
Charles
Oxygen supports exit for BTW
-
ScriptBasic uses GOTO to jump out of FOR/NEXT, GOSUB, ... and is smart enough to clean up on the way out.