GoTo
Positron16 · Revision 1.1.3.5 · PDF page 338
Syntax
GoTo Label
Overview
Jump to a defined label and continue execution from there.
Parameters
Label is a user-defined label placed at the beginning of a line which must have a colon ':' directly after it.
Example
If Var1 = 3 Then GoTo JumpOver
code here executed only if Var1<>3
……
……
JumpOver:
{continue code execution}
In this example, if Var1=3 then the program jumps over all the code below it until it reaches the label JumpOver where program execution continues as normal.
