[rules-users] DSL expression - ??
vdelbart
delbart.v at mipih.fr
Mon Sep 24 05:02:41 EDT 2007
Hi,
I have this in my DSL consequence :
{name}."{indic}"+:{value}={name}.putIndicator("{indic}",{name}.get("{indic}")+{value});
{name}."{indic}":{value}={name}.putIndicator("{indic}",{value});
If I write in my dslr :
...
then
ex."eeee"+:200
ex."eeee":200
end
the mapping is :
then
ex."eeee"+:200
ex.putIndicator("eeee",ex.get("eeee") + 200);
end
Why I have not this :
then
ex.putIndicator("eeee",ex.get("eeee") + 200);
ex.putIndicator("eeee",200);
end
:confused::confused:
thanks,
V.
--
View this message in context: http://www.nabble.com/DSL-expression------tf4507913.html#a12856258
Sent from the drools - user mailing list archive at Nabble.com.
More information about the rules-users
mailing list