skip to main content

Procedure Division : Conditional expressions : Complex condition

Complex condition
A complex condition is formed by combining simple conditions, combined conditions, or complex conditions with logical operators, or negating those conditions with logical negation.
Each logical operator must be preceded and followed by a space. The following table shows the logical operators and their meanings.
Unless modified by parentheses, the following is the order of precedence (from highest to lowest):
1.
2.
3.
4.
5.
The truth value of a complex condition (whether parenthesized or not) is the truth value that results from the interaction of all the stated logical operators on either of the following:
A complex condition can be either of the following:

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left