On 2/6/14, 8:01 PM, Nakia Brewer wrote:
Thanks Jac,
Haven't got back to this today so this will help.
I just noticed I left out the "of this stack" inside the repeat loop, it
should be:
if the tCustomPropSet[tKey] of this stack = value then do something
Mushy brain.
I was trying to get the names of all the Custom Properties that
existsin a Custom Property Set.
I want to loop through them all and see if one has a value I am looking for.
Repeat for each line tCustomProp in tCustomPropSet
If the tCustomPropSet[quote& tCustomProp &"]" = value then do something
End repeat
Kind of like above ish roughly
You may have figured this out by now, but try this:
put the keys of the tCustomPropSet of this stack into tKeys
repeat for each line tKey in tKeys
if the tCustomPropSet[tKey] = value then do something
end repeat
If the set isn't in the stack, sustitute wherever it is for "of this stack".
s
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
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