Radio Shack TRS-80 PC-3 Owner's Manual page 105

Table of Contents

Advertisement

1 GOTO expression
Abbreviations: G., GO., GOT.
See also: RUN
Purpose
The GOTO command is used to start executi?n of a program.
Use
The GOTO command can be used in place of the RUN command to start program execution at the line number specified by the
expression. If no expression is provided, execution begins with the first line.
GOTO differs from RUN in four respects:
1) The value of the interval for WAIT is not reset.
2) The display format established by USING statements is not cleared.
3) Variables and arrays are preserved.
4) PRINT
=
LPRINT status is not reset.
5) The pointer for READ is not reset.
Execution of a program with GOTO is identical to execution with the
@0
key.
Examples
GOTO 100
Begins execution of the program at line 100.
105

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents