Boolean Assignment command

The Boolean Assignment command supports operations such as A=B>C and A=B<C. This allows you to run logic over a series of commands instead of a series of If Then statements. The variable in the Destination parameter must be a Boolean datatype.

Select Boolean Assignment from the Rule Command - New window. In the Parameters section, select the variables for each of the parameters of the Boolean Assignment command by clicking the up arrow to the right of each Parameter text box and selecting one of the options in the menu that displays.

Table 2-3 lists the possible expressions you can use with the Boolean Assignment command and the corresponding datatypes you can use for the Left and Right operands and the Destination.

Table 2-3: Datatypes used for Boolean Assignment command

Expression

Left operand

Right operand

Destination

B>C, B<C, B>=C,B<=C, B==C, B!=C

Alphanumeric

Alphanumeric

Boolean

B>C, B<C, B>=C,B<=C, B==C, B!=C

Date

Date

Boolean

B>C, B<C, B>=C,B<=C, B==C, B!=C

Time

Time

Boolean

B>C, B<C, B>=C,B<=C, B==C, B!=C

Decimal Explicit, Decimal Implicit, Packed Decimal, Real, Signed Decimal, Signed Integer, and Unsigned Integer

Decimal Explicit, Decimal Implicit, Packed Decimal, Real, Signed Decimal, Signed Integer, and Unsigned Integer

Boolean

B==C

Boolean

Boolean

Boolean

B!=C

Boolean

Boolean

Boolean