For removing a single property while leaving the rest intact, I have a
library routine rmProp.

on rmProp prop, tgt

--remove a property from the basic property set

local props

if tgt is empty then

put the long id of me nto tgt

end if

put the customProperties of tgt into props

repeat for each word prp in prop

delete variable props[prp]

end repeat

set the customProperties of tgt to props

end rmProp



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to