> Even better. 
> Thanks Roy.
> 
>> x = [12: "thing", 3: "hat", 25: "fish"]
>> 
>> put x
>> -- [12: "thing", 3: "hat", 25: "fish"]
>> 
>> put x.getAProp(12)
>> -- "thing"
>> 
>> x.deleteProp(12)
>> put x
>> -- [3: "hat", 25: "fish"]

When I feel the urge to put an integer as a property into a prop list (you
know, I've never really found a problem with integers as properties, but
it's considered bad form - maybe you just found out why?), I usually make a
"sequential string" - like "url1", "url2", etc. - it doesn't take much to
change propList.addProp(i, myUrl) to propList.addProp("url" & i, myUrl), and
so on. And I think it always helps to give properties descriptive names,
IMHO.

2 centavos,
Kurt


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to