History
Goto
Home
•
Help
•
Customization Tools
•
FCAS
•
Language Reference
•
Goto
Purpose
Jumps to a label.
Processing jumps to the line that starts with the label.
Syntax
Goto
Label
Label
A line number (consisting of the numbers 0-9) or an alphanumeric string (as long as it does not start with a number).
The label must be the first nonblank characters on the line, followed by a colon (:).
Example
Sub Main()
Dim num As Integer
num = 5
Goto 20
Print "This will not get printed"
20 If num = 5 then
Goto numis5
...