TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-408
#TRACE Built-In Variable
#TRACE Built-In Variable
Use #TRACE to set or obtain the current state of the trace flag.
Result
#TRACE returns -1 (true) if the flag is on, 0 (false) if the flag is off.
Considerations
When you first log on, #TRACE is initialized to zero.
If the trace flag is on, TACL invokes _DEBUGGER and displays each line before it
invokes the line.
Do not use #TRACE and _DEBUGGER to trace #DELTA commands. Instead,
execute #DELTA commands interactively to step through their operation.
Use #POP #TRACE (or POP #TRACE) to restore the trace flag from the last copy
pushed.
Use #PUSH #TRACE (or PUSH #TRACE) to save a copy of the current trace flag.
Use #SET #TRACE (or SET VARIABLE #TRACE) to turn the trace flag off or on.
The syntax of #SET #TRACE is:
num
is 0 for off and any nonzero value for on.
#TRACE
#SET #TRACE num