The "integerp" function is defined in the "PredFunctions" package. Be sure you're
loading that one. If you believe you are, but it's still failing, then you're
not loading that package successfully. If you're using the standard boilerplate code
from the manual, then you could insert a debug print statement into the empty catch
block to print any exceptions instead of ignoring them; this would probably tell you
what was up.
"I think Barriscale wrote:"
>
> Again I'm still new to Jess and I am having some problems running
> some examples through a Java program. I've got the Rete engine and Jesp parser.
> Have also loaded in the optional packages.
> I run sticks.clp using this Java program and get the following output
>
> Who moves first (Computer: cHuman: h)? h
> How many sticks in the pile? 5
> Rete Exception in routine Funcall::simpleExecute while executing rule LHS: [Node1
> command=
> TEQ;data=(integerp ?0,3,-1);type=0;idx=3;usecount = 1] while executing defrule
> pile-select
> .
> Message: Unimplemented function integerp at line 145: ( run ) .
> at jess.Funcall.execute(Compiled Code)
> at jess.Funcall.execute(Compiled Code)
>
> Am I still missing some elements of Jess in my Java program?
> Thanks in advance!
>
> --
> Paul Barriscale
> 2nd Comp. Science
> [EMAIL PROTECTED] http:/wisdom.ucc.ie/~barrisca
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------