No I corrected it (and resolved that JIRA). You can use "$" all you like.

Well, Mark likes the "$" because it makes it clear it is a parameter. It is
also a valid char for a java variable (I only just found out). Jess and
JRules use ?p to similar effect, but "?" is not a valid java char - so we
could either be unhygenic and allow "?" (but have to replace it) or just no=
t
allow it. I chose to not allow "?" but to allow "$" - even though it remind=
s
me of perl (no no NOOOOOOOOOOOOO </flashback>).

So feel free to use it, even in functions.

Yes if you can avoid java predicates, retval or eval() you can often get
better results, but sometimes that means you will be adjusting your object
model to suit (not everyone can do this). The "=3D=3D" is causing some conf=
usion


On 4/27/06, Paul Smith <[EMAIL PROTECTED]> wrote:
>
> Be careful when using '$' prefixed variables. It they are used in
> conjuction
> with a drool function then the parse will fail because the regular
> expression cannot handle it. Michael Neale recommended not using '$'.
>
>

Reply via email to