Custom Props Set

J. Landman Gay jacque at hyperactivesw.com
Thu Feb 6 22:16:36 EST 2014


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         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list