Hi,
i`ve tried to create deffunctions with the same
name, but one without and one with an argument,
but it seems to mee that the second function
overwrites the first one.
for example:
deffunction Friendly ()
deffunction Friendly (?X)
when i now do:
(Friendly)
i get the exception t
I think Sander Rensen wrote:
>
> My question is, if it is possible to make 2 functions with the same name, but not
> with the same arguments ??
>
No. You can't have overloaded deffunctions.
-
Ernest Friedman-Hill
Science and Engineeri
The latest release of Jess, the rule engine for the Java platform, is
available at the usual place:
http://herzberg.ca.sandia.gov/jess/download.shtml
This is a bugfix release. From the ChangeLog:
Fixed two incremental reset problems (thanks Kevin
Kusy and Xiaocheng Luan.) str-cat was ev
Hi all,
I occasionally (more and more frequently these days) get requests for
Jess training classes. I've done this myself a few times, but it's not
my favorite thing to do, and even if it were, I've got other
obligations and could not fulfill all the requests. There used to be a
company called IS
Hi there,
I got a "Exception in thread "main"
java.lang.NullPointerException at
Store2.main(Store2.java:18)" when I run this:
-
import jess.*;
public class Store2 { public static
void main(String[] unused) throws JessException {
Rete r
I think Pedro Rosa wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hi there,
>
> I got a "Exception in thread "main" java.lang.NullPointerException
> at Store2.main(Store2.java:18)" when I run this:
...
> r.executeCommand("(defrule regra (fato ?x) => (store obj ?x))"
Not sure if this helps you but...
While (deffunctions) cannot be overloaded, you can write a Userfunction (in
Java) which receives a variable number of arguments via the ValueVector
parameter.
alan
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 11/21/2003 5:34 AM
I think Alan Moore wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Not sure if this helps you but...
>
> While (deffunctions) cannot be overloaded, you can write a Userfunction (in
> Java) which receives a variable number of arguments via the ValueVector
> parameter.
>
deffuncti