[rules-users] syntax question
Bruce leroy
leroybruce at gmail.com
Fri Mar 23 14:20:27 EDT 2007
Hi,
I have a question regarding rules syntax particularly with left hand side.
Suppose I have the following condition ..
when
Customer ( $cars : cars, age > 18 )
...
How can I use the bind variable "$cars" in subsequent statements without
using eval(), like so ...
when
Customer ( $cars : cars, age > 18 )
eval( $cars.contains( "Honda" ) )
....
Basically I would like to know what the alternatives for doing something
like so this without having to use eval function. I know this might not be
the best example for this question, but please I'm just learning this system
right now.
Thanks in advance,
Bruce.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070323/58de29df/attachment.html
More information about the rules-users
mailing list