Logical commands determine whether certain expressions are logically true (returning a 1) or false (returning a 0).

Command

Description

Alpha()

Returns a logical true if an expression evaluates to non-numeric.

And, Or operators

Allows you to return a true or false value based on the Boolean And, Or combination of two expressions.

Assigned()

Determines whether a specified variable has been assigned a value.

BitAnd(), BitOr(),
BitXor(), BitNot()

Returns the bit-wise And, Or, Xor, and Not of individual bits in an integer value.

Matches operator

Compares a string value to a pattern. Evaluates to 1 (true) or 0 (false).

Not()

Inverts the logical value of an expression.

Num()

Returns true if an expression evaluates to numeric.

  • No labels