Futurebasic/Language/Reference/goto

= GOTO=

Syntax
GOTO {lineNumber|&quot;statementLabel&quot;

Description
Causes program execution to continue at the statement at the indicated line number or statement label. The target statement must be within the same "scope" as the statement (i.e., they must both be within the "main" part of the program, or they must both be within the same local function). Also, you should never use  to jump into the middle of any "block" statement structures (such as ,  ,  , etc.).

is sometimes useful in the "main" part of the program, to branch around certain structures such as  procedures. However, excessive use of  can lead to code that is difficult to read and maintain. The use of  is generally discouraged; FutureBasic's other branching and looping structures offer a better solution.