HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)
2-: 46
Parameters
sub_id1 sub_id1
specifies a subunit that variables will be
traced in.
sub_id1
is specified by [SUB]
sub_id
or
MAIN.
sub_id3
Each
sub_id3
specifies an additional subunit that
variables will be traced in. Each
sub_id3
is specified
by [SUB]
sub_id
or MAIN.
sub_id2 sub_id2
specifies a subunit that variables will no
longer be traced in.
sub_id
is specified by [SUB]
sub_id
or MAIN.
sub_id4
Each
sub_id4
specifies an addition subunit that
variables will no longer be traced in. Each
sub_id4
is
specified by [SUB]
sub_id
or MAIN.
The UNTRACE ALL, UNTRACE VARS, and TRACE OFF statements also cancel the
TRACE VARS IN statement.
Example
The following shows examples of the TRACE VARS IN command. The first
example is in a program, the last two are issued as commands.
10 TRACE VARS IN MAIN, SUB A
TRACE VARS IN Sub_a, Sub_b, FNX
UNTRACE VARS IN X,Y,Z
TRACE WAIT
The TRACE WAIT statement delays the program for a specified time after
each trace message (for line tracing and variable tracing).
Syntax
TRACE WAIT
num_expr
Parameters
num_expr
Number of seconds to delay the program after each trace
message. The value of
num_expr
must be in the range
[-32768, 32767]. If
num_expr
< 0, TRACE WAIT does not
delay the program after trace messages.
TRACE OFF
The TRACE OFF statement cancels every TRACE statement.
Syntax
TRACE OFF
OPTION TRACE and OPTION NOTRACE
The OPTION TRACE statement enables the trace statements in the program