Category: Boolean Expressions

The Original Internet Language

Arithmetic with Dates

ZIM-X provides a number of built-in functions to perform date and time arithmetic.  If an arithmetic expression subtracts one date from another (i.e., both operands are of data type DATE), the result is a number representing the number of days between the two dates. Example Consider the Date Type values: Date1 = 19990923 (23SEP1999) and…
Read more

Rules of Precedence for Operators

Operator Rule of Precedence Conditional Operators are evaluated first NOT NOT is evaluated first. AND AND is evaluated next. OR, XOR OR and XOR are evaluated last. Note: Operators of equal precedence are evaluated from left to right in the expression.Parentheses can be used to explicitly determine the order of evaluation, overriding the order described…
Read more

About Boolean Expressions

Boolean expressions use Boolean operators to compare operands (typically, conditional expressions). When evaluated, Boolean expressions yield a logical result (true or false), depending on the nature of the Boolean operator and the values of the conditional expressions. The standard rules of precedence for Boolean evaluation are used. The software ceases to evaluate a Boolean expression…
Read more

en_CAEnglish