Operators that can be used in binds

<< Click to Display Table of Contents >>

Manual > Screen Creation Guide > Binding >

Operators that can be used in binds

Operators available in the bind format

The format after IN/OUT/INOUT in the bind format follows the arithmetic expression syntax.

The following operators can be used in the formula syntax. For more information, see Scripting Guide: Formula Syntax.

 

Arithmetic Operators



Minus sign

-

Used to specify the negated value of an expression.

Multiplication and division

* /

Calculates the product or quotient of two numbers.

Addition and Subtraction

+ -

Calculates the sum or difference of two numbers.

Comparison Operators



equal

==

Compares two numbers and returns TRUE if they are equal.

Not equal

!=

Compares two numbers and returns TRUE if they are not equal.

Less than

<

Compares two numbers and returns TRUE if the left value is less than the right value.

Greater than

>

Compares two numbers and returns TRUE if the left value is greater than the right value.

below

<=

Compares two numbers and returns TRUE if the left value is less than or equal to the right value.

End

>=

Compares two numbers and returns TRUE if the left value is greater than or equal to the right value.

Logical Operators



Logical negation

!

Returns the logical negation of an expression.

Logical AND

&&

Performs a logical AND on two expressions.

Logical OR

||

Performs a logical disjunction on two expressions.

Bitwise Operators



And operator

&

Bitwise And operator (bitwise comparison as integers).

If the left expression is a string, it is concatenated as a string.

Or Operator

|

Bitwise Or operator (bitwise comparison as integers).