Re: [rules-users] Creating a long literal

2007-02-07 Thread Aziz Boxwala
You're right. The L causes a syntax error at compile time. Outside, an eval, I ran into range problems. I was trying to multiply a bunch of integers. The product was outside the range of an integer and I ended up with garbage. One way around it would have been to force the operands of the

Re: [rules-users] Creating a long literal

2007-02-03 Thread Michael Neale
hmmm.. in an eval it *should* work - I assume there is a compile error that mentions the L ? well this should not be a problem in 3.2, but for 3.0.x we can certainly look at it if you have a unit test. A literal outside of an eval shouldn't be needed - as the type is inferenced from the facts au

[rules-users] Creating a long literal

2007-02-02 Thread Aziz Boxwala
Is there a way to create a long literal in a rule condition? Typing 30L results in a syntax error because of the L at the end. The error occurs even if I put this literal in eval. --Aziz ___ rules-users mailing list rules-users@lists.jboss.or