Hello,

I am trying to get the current time, and then periodically check to see how 
much time has elapsed (in secs) since the first time check.  I tried using

(bind ?start (new java.util.Date))
(bind ?end (new java.util.Date))
(* 1000 (- (?end getTime)(?start getTime)))

I think the problem is that these yield a long which is not handled by Jess.  
Any tips on another way to do this?

Thanks
Matt

---------------------------------------------------------------------
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]
---------------------------------------------------------------------

Reply via email to