
7-6
Section
Details of BASIC Commands
225
trace
Syntax:
TRACE
Description:
Command. Displays the contents of the trace buffer.
Remarks:
When the
TRON M
command is executed, the program’s line numbers are stored in the trace buffer
as the program is executed. The trace buffer can contain up to 255 line numbers. The trace buffer
has a battery backup, so its contents are retained even if the power is turned OFF. When necessary,
the
TRACE
command can be used to output the contents of the trace buffer to the terminal.
The contents of the trace buffer will be cleared when the
NEW
or
TROFF
command is executed.
Examples:
> TRON M
> 10 FOR A = 1 TO 5
> 20 PRINT A
> 30 NEXT A
> RUN
1
2
3
4
5
> TRACE
[10][20][30][10][20][30][10][20][30][10][20][30][10][20][30]
[10][30]
See also:
TROFF
,
TRON
troff
Syntax:
TROFF
Description:
Command. Turns OFF the line number trace
Remarks:
Stops the output of line numbers during the execution of a program.
If the ASCII Unit is reset, powered OFF then ON, or if the
NEW
statement is executed then the line
number trace will automatically be turned OFF. When the line number trace is turned OFF the
trace buffer is reset.
Examples:
> 10 TRON
> 20 FOR A = 1 TO 5
> 30 NEXT A
> 40 TROFF
> 50 FOR A = 1 TO 5
> 60 NEXT A
RUN
[20][30][20][30][20][30][20][30][20][30][20][40]
>
See also:
TRACE
,
TRON
Summary of Contents for C200H-ASC11
Page 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Page 2: ...iv...
Page 4: ...vi...