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
I think [EMAIL PROTECTED] wrote:
Any suggestions?
bag create returns an existing bag if there's already one by that
name; reset doesn't clear the list of bags. Therefore, although the
defglobal is indeed reset, it's reset to set to the same object!
Note that all bag does is manage a Hashtable
Great! Works
Thanks
Felix
On 27 May 2004 at 15:16, [EMAIL PROTECTED] wrote:
I think [EMAIL PROTECTED] wrote:
Any suggestions?
bag create returns an existing bag if there's already one by that
name; reset doesn't clear the list of bags. Therefore, although the
defglobal is indeed