Custom Props Set

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


On 2/5/14, 11:23 PM, Nakia Brewer wrote:

> 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".

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list