
Commands - 135
TRON/TROFF
Statement
SYNTAX: TRON
TROFF
PURPOSE: To trace program execution.
REMARK S: Execute TRON to turn on the trace and TROFF to turn the trace off. It may be executed in the
immediate mode to trace a whole program or be placed w ithin a program to trace only a section.
WARNING: TRON and TROFF must be the only command or last command on a line.
TRON should be used cautiously in a multitasking or time critical program. The reason is the print
buffer easily fills up, halting execution until the buffer is low enough to execute the next line. The
program will slow down tremendously and not operate on a real time basis.
RELATED: none
EXAMPLE: 10 TRON
20 FOR X = 0 TO 3
30 A = X
40 NEXT
50 TROFF
RUN
.20..30. 0
.40..30. 1
.40..30. 2
.40..30. 3
.40..50.
ERROR: none
Kommentare zu diesen Handbüchern