hi ,
I am writing the java code for the method so that
the method could be invoked in the command line in jess.
The code is as follows
import jess.*;
import java.lang.*;
public class GreaterThan implements Userfunction
{
public String getName() { return "my-upcase";}
public Value call (ValueVector vv ,Context context) throws JessException
{
Boolean ret = new Boolean (true);
return new Value (ret,'TRUE');
}
}
}
During compilation it giving error stating that 'TRUE' is not a data type.
can some body tell me how to construct the new JessValue object of
type java.lang.Boolean.
Regards,
Mahesh G.
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
