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

Table of Contents

Advertisement

1
TRON
Abbreviations: TR., TRO.
See also: TROFF
Purpose
The TRON verb is used to initiate the trace mode.
Use
The trace mode provides assistance in debugging programs. When the trace mode is on, the line number of each statement is dis-
played after each statement is executed. The
PC-3
Computer then halts and waits for the Down Arrow key to be pressed before
moving on to the next statement. The Up Arrow key may be pressed to see the statement which has just been executed. The trace
mode continues until a TROFF verb is executed.
Examples
10 TRON
20 FOR I
=
1 TO
3
30
NEXT I
40 TROFF
When run, this program displays the line numbers 10,20,30,30,30 and 40.
170

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents