Rule Builder > Technical Rule Language Reference > Tokens for the Action Part of a Rule > declare |
declare |
PREVIOUS NEXT |
The declare
token allows you to make a typed variable declaration by providing its type and initial value (optional). This is exactly as done in Java. When you click declare
, the following code is displayed:
THEN
declare <select a class> <enter a variable> [ ]
The declare
token is composed of the two subtokens given in Table 24.9:
<select a class> | Declare the name of a class. |
<enter a variable> | Insert a new variable. See [called <enter a variable>]. |
Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |