Hello to all community,

I am trying to bind an int variable e.g slide
and then to use it's value plus a different number,

e.g slide + 2, slide +3.

How I Can Do that, the following doesn't work.


(defrule Rule1
      ...
    =>
     (bind ?slide 4)
     (calling goToSlide "p1" ?slide)
     (calling goToSlide "p2" ((?slide)+1))
     (calling goToSlide "p3" ((?slide)+6))
        ...
    )


thank you in advance!


--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [email protected]'
in the BODY of a message to [email protected], NOT to the list
(use your own address!) List problems? Notify [email protected].
--------------------------------------------------------------------

Reply via email to