Here is another check on the effect of bsave/bload. I define this function:

(deffunction ppallfunctions ()
 (bind ?sb (new StringBuffer))
 (bind ?it ((engine) listFunctions))
   (while (?it hasNext)
     (bind ?f (?it next))
     (bind ?class (call ?f getClass))
     (?sb append ?class) (?sb append " ")
     (?sb append ?f)
     (?sb append " : ")
     (bind ?iflist (call java.util.Arrays asList (call ?class getInterfaces)))
     (for (bind ?i 0) (< ?i (?iflist size)) (++ ?i)
         ((?sb append " " ) append (?iflist get ?i ))
     )
     (?sb append "
")
   )
   (?sb toString)
)

Running (ppallfunctions) and writing this to before.txt, then doing a
bsave/bload and another (ppallfunctions), this time to after.txt:

$ wc before.txt after.txt
   772    before.txt
   381    after.txt

So, I guess, the imported statics are still known (otherwise there
would be a proper error message), but they aren't fully defined, sort
of.

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