Explanation
GOTO Statement
Branches to a specified line.Worth knowing
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
GOTO line |
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. |
' For an example, see "ON ERROR" Statement
See also: | DO LOOP | FUNCTION | IF THEN ELSE | ON ERROR | ON GOTO | SELECT CASE | SUB |