Given that the left hand sign of the comparison must be a simple field
reference and the right hand side a bracketed expression, employ simple
equation transformattion techniques to arrive at
redbookYear > (vehicleYear) + $param)
-W
2011/6/10 Jon Gil <jonsprogrammingemail(a)gmail.com>
more specifically
RuleTable Condition Action $a:OOPVehicle (redbookYear -
vehicleYear) > $param System.out.println($param); 50 "reducing
Redbook Value by 50 years" 20 "reducing Redbook Value by 20 years" 5
"reducing
Redbook Value by 5 years"
On Fri, Jun 10, 2011 at 9:39 AM, Jon Gil <jonsprogrammingemail(a)gmail.com>wrote:
> I want my condition to be (Year1 - Year2) > $param
>
>
>
>
> 2011/6/10 Wolfgang Laun <wolfgang.laun(a)gmail.com>
>
>> Please describe the problem, accuretely.
>> -W
>>
>> 2011/6/10 Jon Gil <jonsprogrammingemail(a)gmail.com>
>>
>>> Hi all, This might seem overly simple but can I use the + and -
>>> operators in a Condition in a spreadsheet? I feel i'll need to import
>>> something, and I've tried creating an "add" method in my
factmodel java
>>> class, but i can't seem to use it.
>>> _______________________________________________
>>> rules-users mailing list
>>> rules-users(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>>
>>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users