[rules-users] Using variable in a drl file

Edson Tirelli tirelli at post.com
Wed Feb 7 12:38:15 EST 2007


   You mean a global?

http://labs.jboss.com/file-access/default/members/jbossrules/freezone/docs/3.0.5/html/ch03s03.html#d0e1532

Yen Chiu wrote:

> Hi everyone,
>  
> Can anyone guide me on how to declare a variable (e.g: a 
> double variable) and use it throughout the drl file from top to bottom.
> almost similar to the function like semaphore.
>  
> Thanks.
>  
> Regards,
> Yen
> This correspondence is for the named persons only.
> It may contain confidential or privileged information or both.
> No confidentiality or privilege is waived or lost by any mis 
> transmission.
> If you receive this correspondence in error please delete it from your 
> system immediately and notify the sender.
> You must not disclose, copy or relay on any part of this 
> correspondence, if you are not the intended recipient.
> Any opinions expressed in this message are those of the individual 
> sender except where the sender expressly,
> and with the authority, states them to be the opinions of the 
> Department of Emergency Services, Queensland.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>rules-users mailing list
>rules-users at lists.jboss.org
>https://lists.jboss.org/mailman/listinfo/rules-users
>  
>


-- 
 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





More information about the rules-users mailing list