basic.aux Statement/BASIC Program

basic.aux

Command basic.aux Statement/BASIC Program
Applicable release versions: AP 6.2
Category BASIC Program (486)
Description enables or disables spooling to the auxiliary port

"aux on" enables spooling to the auxiliary port and saves the "p" and "h" flags of the current "sp-assign" status.

"aux off" reverses the effect of the last executed "aux on" command. It turns off auxiliary port printing, and restores the previous status of the "p" and "h" flags of the current "sp-assign" status. Note that "aux off" should NEVER be executed without a preceding "aux on" since "aux off" assumes that information has been saved by "aux on".

In the "expression" form, auxiliary printing is disabled when the expression evaluates to false. It is enabled when the expression evaluates to true. In an expression, 0 = "aux off" and non-zero = "aux on".
Syntax aux off
aux on
aux expression
Options
Example
Purpose
Related basic.statements
tcl.sp-assign