Operators

An operator is a symbol that represents a specific action. The standard operators are available for use in Newlook macros.

When several operations occur in an expression, each part is evaluated and resolved in a predetermined order. That order is known as operator precedence . Parentheses can be used to override the order of precedence and force some parts of an expression to be evaluated before others. Operations within parentheses are always performed before that outside. Within parentheses, however, normal operator precedence is observed.

Mathematical Operators

+

Addition

-

Subtraction

*

Multiplication

/

Division

\ Or Div

Integer division

Mod

Modulus

^

Exponentiation

Comparison Operators

<

Less than

<=

Less than or equal to

>

Greater than

>=

Greater than or equal to

=

Equal to

<>

Not equal to

Like

String pattern match

Unary Operators

+

Positive

-

Negative

String Operator

&

Concatenation

Logical Operators

And

Logical and

Eqv

Logical equivalence

Imp

Logical imputation

Not

Logical not

Or

Logical or

Xor

Logical exclusive-or

See Also

Actions | Constants | Functions | Methods | Objects & Controls | Properties | Operator precedence


© 2004-2021 looksoftware. All rights reserved.