| ILOG Rules for .NET User Guides > ILOG Rule Solutions for Office > Writing and editing rules > Define variables and constants > About variables and constants |
About variables and constants |
PREVIOUS NEXT |
The Definitions part of a rule gives you finer control over your business rules by letting you set variables at the beginning of your rule.
Variables let you identify and subsequently reference an occurrence of something by a convenient name. Using variables can make your business rules less ambiguous as well as easier to understand. A variable that you define is only valid in the rule in which it is defined.
For example, if your rule requires you to refer to more than one occurrence of a "customer" object, you have to explicitly define variables for each of the other customer objects in the Definitions part of the rule.
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |