On 17/06/2013, at 10:53 AM, J. Landman Gay wrote:

> Pretty much, yes. I didn't ask my original question correctly. I want to see 
> if a particular value is contained in any element at a certain level without 
> looping through to check each one. Sort of like we can say "if tString 
> contains "dog" then..."
> 
> I didn't think we could but was sort of hoping, or wondering if anyone had a 
> good, quick way to do it. I vaguely recall Trevor mentioning something about 
> "the elements of an array" but I can't remember what it was.

So you want:

if there is an element "dog" in tAnimals["mammals"] then
  
Seems like a handy feature Jacque... you really will need to start playing with 
the engine one of these days ;-)

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

_______________________________________________
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