Hello!
It read, that Jess does not allreads support Enums. Though my java
code depends on enums, I tried to use static int for them.
I now have a class Type:
public class Type {
static final int NORMAL = 1;
static final int EXTENDED = 2;
}
But I can't access these static fields from Jess. I have an Shadow
fact, that has an int filed type. When I type
(modify ?account (type (call Type EXTENDED)))
I get an error, that there is no method called EXTENDED. Is there a
possibility to use Enums or static fields? Or how can I work around
this?
Helge Hartmann
--------------------------------------------------------------------
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]
--------------------------------------------------------------------