-Xex.Alist = function ()
-{
- this.count = 0;
-}
-
-Xex.Alist.prototype.put = function (key, val)
-{
- this.count++;
- return (this[key] = val);
-}
-Xex.Alist.prototype.clone = function ()
-{
- var alist = new Xex.Alist ();
- for (key in this)
- alist[key] = this[key];
- return alist;
-}
-Xex.Alist.prototype.toString = function ()
-{
- var str = 'alist:';
- for (key in this)
- str += '"' + key + '"';
- return str;
-}
-
-// Xex.alist = new Xex.Alist ();
-// Xex.alist.put ('abc', "ABC");
-// alert (Xex.alist['abc']);
-