| assignment | Index Level | BEGIN CASE |
| Syntax | AUX [OFF | ON | expression] |
| Category | BASIC |
| Type | Statement |
| 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". |
| Options | |
| See Also | statements & functions sp-assign |
| Example | |
| Warnings | The "AUX" statement must appear before the first output to a print job to take affect properly. |
| Compatibility | D3 7.0 |
| assignment | Index Level | BEGIN CASE |