Re: JESS: Passing Context to the user defined function

2002-04-01 Thread Mahesh Gandhe
> You can, of course, pass a Context as a regular argument to a>  function, which perhaps makes more sense here, anyway; can you tell me syntax  for this ie passing Context as an argument. here method "Call"  is not called explicitly . its invoked in  defrule in the body of the rule in the test cl

Re: JESS: Passing Context to the user defined function

2002-04-01 Thread ejfried
The Context object is analagous to the call stack in languages like C and Java. Just as there's no language-level mechanism in those languages to call a function with a user-specified stack, there's no such mechanism in Jess, either. You can, of course, pass a Context as a regular argument to a

JESS: Passing Context to the user defined function

2002-04-01 Thread Mahesh Gandhe
Hi ,I am calling user defined function in the rule (in the  body of the rule).This function is called using  the “test CE”.My query is  how to explicitly pass the Context object to this user function call in the defrule?.I tried looking the manual and API but was not able to get the syntax.My requi