Hi,

I would need a little help. I try to create a bag and bind it to a global variable. This works well.

After a reset (set-reset-globals is set to true)  the global variable still point to the bag and the bag content still exists. Here the code:

(defglobal ?*QueryList* = (bag create "ql"))

(deffunction MAIN::QueryFactbase (?qu $?pa)
   (bind ?qn (bag get ?*QueryList* ?qu))
   (printout t "Query: " ?qn crlf)
)

After a reset the ?qu string is still found, which shouldn't happen.

Any suggestions?

Felix Bachmann

Reply via email to