SecondBASIC Documentation v3

Home / Command Reference / GoTo

GoTo

Description: Jumps the program execution to <LineLabel>. You cannot return to this jump point.

Syntax:

GoTo <LineLabel>

Part Description
<LineLabel> Required. The location you want the program execution to jump to.

Example:

    GoTo Hello
    Print "Goodnight World"
 
Hello:
    Print "Hello World"
    End