TROFF, TRON
TROFF
TRON
Statements I
Turn the "trace function" on/off.
The trace function lets you follow program flow. This is helpful for
debugging
and
analyzing of the execution of a program.
Each time the program advances
to
a new line, TRON displays that
line number inside a pair of brackets. TROFF turns the tracer off.
Sample Program
2290
TRON
2300
X = X *
3.14159
2310
TROFF
Lines 2290 and 2310 above might
be
helpful
in
assuring you that line
2300 is actually being executed, since each time it
is
executed [2300]
is printed
on
the display.
After a program
is
debugged, the TRON
and
TROFF statements can
be
removed.
2·169