Sorry, but I still get the same error message with "jess.MathFunctions".
The message says that "load-package" is unimplemented.
I just looked at the Jess manual again and found that load-package is in
jess.MiscFunctions. How do I load MiscFunctions (or MathFunctions) when
the load functions need to be loaded first?
Friedman-Hill, Ernest wrote:
>
>
> The class MathFunctions is inside the package 'jess', so the full name of
> the class, which must be passed to load-package, is "jess.MathFunctions".
>
> You can simply say "new MathFunctions()" in your Java code presumably
> because you have an 'import jess.*;' statement.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Sent: 2/9/99 10:10 AM
> Subject: JESS: load-package
>
> I'm trying to load the MathFunctions that are distributed with Jess 4.0
> from inside a Jess file that needs it.
> When I add:
>
> (load-package "MathFunctions")
>
> to the Jess I get
>
> Rete exception in routine Context::expandAction.
> Message: Unimplemented function load-package at line 303: (
> load-package "MathFunctions" ) .
>
> What am I doing wrong?
>
> I was able to load the MathFunctions from the Java that calls Jess with
>
> rete.addUserpackage( new MathFunctions() );
>
> But I only want to load MathFunctions when it is needed on a Jess file
> by file basis.
>
> Thanks
> Christo
> ---------------------------------------------------------------------
> 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]
> ---------------------------------------------------------------------
---------------------------------------------------------------------
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]
---------------------------------------------------------------------