>function changePropertyName object oldPropName newPropName
>  get the customKeys of object -- are now in it,but ONLY THE NAMES
>  put newPropName & return before it -- creates the NAME of the new prop
>  put the oldPropName of object into oldPropCont -- saves the content
>  delete line lineOffset(oldPropName,it) of it -- delete the oldProp (in it)
>  
>  set the customKeys of object to it -- makes the changes
>  set the newPropName of object to oldPropCont -- moves the content
>end changePropertyName

shouldn't you set the wholeMatches to true before using the lineOffset 
command here? Otherwise, if you had a custom property myWidthAndHeight, 
and were trying to delete a property myWidth, you might get the wrong one.

gc

This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm

Reply via email to