QBasic 1.1: GOTO Statement

Syntax

GOTO line

Description / Parameter(s)

line The label or number of the line to execute next.
DO...LOOP, SELECT CASE, IF...THEN...ELSE, SUB, and FUNCTION provide better ways to control the flow of your program.
GOTO is also used as a keyword in the ON ERROR statement.

Example

' For an example, see "ON ERROR" Statement