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 reset, it's reset to set to the same object! > > Note that all "bag" does is manage a Hashtable of Hashtables. You > could get the effect you're after just by initializing a defglobal to > point to (new java.util.HashMap), then using (?*global* put x y) and > (?*global* get x) directly. The "bag" function dates from a time > before Jess had reflection capabilities; it's not really especially > useful now. > > > > --------------------------------------------------------- > Ernest Friedman-Hill > Science and Engineering PSEs Phone: (925) 294-2154 > Sandia National Labs FAX: (925) 294-2234 > PO Box 969, MS 9012 [EMAIL PROTECTED] > Livermore, CA 94550 http://herzberg.ca.sandia.gov > > -------------------------------------------------------------------- > 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] > -------------------------------------------------------------------- > -------------------------------------------------------------------- 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] --------------------------------------------------------------------