|
Re: [drools-user] Doubts in Bound Variables: msg#00149java.drools.user
Niyas, There is no difference I can see between the 2 rules. Only thing worth to mention is you can't have both simultaneously in your package because they have the same name, but I guess you have one or the other, right? Regarding the $, as Oana said, it is just a naming convention. We use it to make clear a variable is a rule bound variable. As you know, "$" is a valid java starting character for identifiers, so you can use a java variable named "$cust", the same way you can use another named "cust". []s Edson Niyas wrote: Why in the second case it's not printing anything? I am not asked -- Edson Tirelli Software Engineer - JBoss Rules Core Developer Office: +55 11 3124-6000 Mobile: +55 11 9218-4151 JBoss, a division of Red Hat @ www.jboss.com --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [drools-user] Doubts in Bound Variables, nicolae oana |
|---|---|
| Next by Date: | Re: [drools-user] Running Drools inside netbeans module issues, Edson Tirelli |
| Previous by Thread: | Re: [drools-user] Doubts in Bound Variables, nicolae oana |
| Next by Thread: | Re: [drools-user] Doubts in Bound Variables, Research |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |