Provided that it's not an ordered property list, in which case you would be 
forced to disassemble and reassemble the list.

- Tab

At 03:53 PM 5/1/01 -0700, Stephane Comeau wrote:

> > is there a way to change a propertyName in a property list?
>
>
>Not directly, but you can easily delete and rename.
>
>Something like:
>
>On renameProp symOldName, symNewName, lspPropList
>    If findPos(lspPropList,symOldName) <> VOID then
>       flxValue = getProp(lspPropList, symOldName)
>       deleteProp lspPropList, symOldName
>       setaprop lspPropList, flxValue, symNewName
>    End if
>    Return lspPropList
>end


[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