override_status

Purpose:

Check the override status of a specified variable in CyFlex, outputting ‘On’ if active or ‘Off’ if not and returns 0 for success or 1 for error.

Enter:

override_status <variable_label>

Where:

variable_label

Specify the variable label to check.

Example:

override_status my_var
The above command prints ‘On’ if the “override_active” member of the variable is TRUE and returns a 0.

If the “override_active” member of the variable is FALSE, then it prints ‘Off’ and returns a 0.

If the variable cannot be found or CyFlex is not running, then it returns a 1.

Notes:

Overrides are only supported for REAL, INTEGER, LOGICAL, and STRING variable types.

See Also:

sovr, svar, gvar, override_mon