| Reference > Rule Languages > ILOG Rule Language > IRL Keywords > in (Ruleset Parameter) |
in (Ruleset Parameter) |
PREVIOUS NEXT |
The keyword in a ruleset declaration to define an in ruleset parameter.
ruleset rulesetName
{
[in typeName variableName;]
[inout typeName variableName;]
[out typeName variableName [= value];]
};
Ruleset parameters can be defined as a simple way to exchange data between the application and the ruleset. Ruleset parameters are accessible from a rule, function, or task definition in the ruleset.
There are three types of ruleset parameters: in, inout, and out.
The in and inout ruleset parameters cannot have an initial value specified in the ruleset. Their initialization is done through the API IlrContext.setParameters(IlrParameterMap). The out ruleset parameters can be initialized in the ruleset.
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |