Boolean variables

These variables can have two values: true or false.

Parameters

You can run a Boolean variable command in two ways: without parameters or with parameters.

Without parameters

If you run a Boolean variable command without parameters, the application toggles the value of the variable.

With parameters

Boolean variable commands accept the following parameters:

Parameter number Description Accepted values Optional
1 Automatic mode 0: Disable the Boolean variable.
1: Enable the Boolean variable.
?: Display the value of the Boolean variable in a balloon showing whether the command is enabled or disabled.
Yes

Examples

The Boolean variable command BEEPS controls whether the application plays a sound when you enter data with the input device or when it detects an error.

If BEEPS is True and you run the following command:

BEEPS

The value of BEEPS changes to False. If you run BEEPS again without parameters:

BEEPS

The value of BEEPS changes back to True.

Run the following command to set the Boolean variable BEEPS to True:

BEEPS=1

Run the following command to set the Boolean variable BEEPS to False:

BEEPS=0

Run the following command to display the value of the Boolean variable BEEPS in a balloon:

BEEPS=?