| Reference > Rule Languages > Business Action Language > BAL Constructs > none of the following conditions are true |
none of the following conditions are true |
PREVIOUS NEXT |
Negates a group of conditions.
none of the following conditions are true:
- <condition>* [,]
The none of the following conditions are true construct allows you to group together a series of condition statements. The statement evaluates to true only if none of the conditions listed are true.
The construct must be followed by a colon and one or more condition statements, each one on a separate line and preceded by a dash. Note that the dash that precedes each condition must be a `short dash'.
Optionally, you can add a comma after the last condition statement in the list to signify the end of the list of grouped conditions. This will separate those conditions that form part of the construct from any additional condition statements that might follow.
The following group of conditions tests that a customer is not a Gold senior member and not under 60.
if
none of the following conditions are true:
- the category of the customer is gold
- the age of the customer is least 60
then...
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |