Try:

(deffunction show-frame ()
   (set ?*b* visible TRUE)
   (set ?*f* visible TRUE)
)

Functions in jess take 0 or more arguments but you still need the parens...

alan

> -----Original Message-----
> From: Rajaram Subramanian [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 20, 2001 12:57 PM
> To: [EMAIL PROTECTED]
> Subject: JESS: Multiple statements in deffunction
> 
> 
> Hi,
> I am still in the beginning-stage of Jess Usage. I am trying to have a
> deffunction to bring up a frame when an icon is clicked. 
> 
> (deffunction show-frame
>  (set ?*b* visible TRUE)
>  (set ?*f* visible TRUE))
> 
> The parser complains with a missing ")" bracket error. I cannot really
> understand it,
> Can you help me with this,
> Regards,
> Raj.
> 
> 
> ---------------------------------------------------------------------
> 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]
> ---------------------------------------------------------------------
> 

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