Goto <name> ... Label <name>

Top  Previous  Next

This statement is used to transfer the script directly to the named position. Be cautious when using this function, as incorrect use could cause a script to crash or be held in an infinite loop...

 

Example:

 

If x > 5
Goto exit
EndIf
 
; more script here!
 
Label exit