> has anyone a good method as to change the property of a
> property list, like in [#john:100, #kurt:200]
> Now change #john to #Bill
You might have an easier time if you arrange your data structure like
this:
[ [#name:"John",#value:100], [#name:"Kurt",#value:200] ]
IOW, don't change the names of the properties at runtime; change their
values. You could theoretically delete the #john prop-value pair and
replace it with a #bill pair, but again, it's potentially dangerous to
change property names at runtime, IMHO.
Also, a data structure like the one above will allow multi-word names.
That is, you could use "John Kanding" instead of being limited to #john.
2 cents,
Rob
/*********************************
* Rob Wingate, Software Human *
* http://www.vingage.com *
* mailto:[EMAIL PROTECTED] *
*********************************/
[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!]