AT&T 6300 Programmer's Manual page 482

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

TRON/TROFF
Commands
TRON (TRACE ON) causes the line number of
each statement executed to be listed.
TROFF (TRACE OFF) stops the line number
listing initiated by TRON.
Syntax
Remarks
Example
7·326
TRON
TROFF
The TRON statement (executed in either
immediate or program mode) is used as a
debugging tool, since it enables a trace flag
that displays each line number of the program
as it is executed. The numbers appear enclosed
in square brackets. The trace flag is disabled
with the TROFF statement (or when a NEW
command is executed).
Ok
10 K=10
20 FOR J=1 TO 2
30 L=K + 10
40 PRINT JiKiL
50 K=K+10
60 NEXT
70 END
Ok
TRON
Ok
RUN
[10][20][30][40] 1 10 20
[50][60][30][40] 2 20 30
[50][60][70]
Ok

Advertisement

Table of Contents
loading

Table of Contents