TRACE

Controls the display of information about a running program.
 
 TRACE ALL [start-line [,end-line]]
TRACE OFF
TRACE PAUSE [line]
 
 
 
Usage:
TRACE ALL 1000,1200
TRACE OFF
TRACE PAUSE 250
Example: TRACE.BAS
Description:
TRACE ALL traces program flow and variable assignments. Either the entire program or just a range of program lines may be traced. The trace output is sent to the message line and displays the program line numbers and any modified simple numeric or string variable and its new value. If a full array is modified the entire array is not displayed. If print-all mode is on, then the trace output is also sent to the PRINTALL IS device.
TRACE OFF turns off all tracing functions.
TRACE PAUSE will PAUSE program execution before the specified line and will display the next program line to be executed. If no line is specified, the program pauses before the next line is executed and the current TRACE PAUSE line is deactivated. Tracing slows program execution.
See Also: