Hi all,
I have a package DateFunctions conatining 'class Before implements Userfunction'.
Inside 'Before' I expect two instances of GregorianCalendar and simply call
GregorianCalendar.before() on them.
To use it from jess, as I understand, I will have to
create two instances of java.util.GregorianCalendar in jess using
(bind ?dt1 (new java.util.GregorianCalendar))
(bind ?dt1 (new java.util.GregorianCalendar))
and call (before dt1 dt2)
My question is, when these instances dt1 and dt2 are converted to Value, are they of
type RU.ATOM or RU.EXTERNAL_ADDRESS. What do these types represent.
Will things be any diffrent if I went the java route and did a
new GregorianCalendar() followed by rete.definstance() and rete.executecommand("
(before dt1 dt2)")
Thanks very much.
Dheeraj
__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
---------------------------------------------------------------------
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]
---------------------------------------------------------------------