delete the customproperty (of a card)

Dr. Hawkins dochawk at gmail.com
Mon Jan 1 14:01:04 EST 2018


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



More information about the use-livecode mailing list