How to use an array to solve the following...

mikedoub at gmail.com mikedoub at gmail.com
Mon Feb 20 16:06:58 EST 2012


Bob, 

Can you give a quick example of this?  I have always used for each line in the keys of array.  

Thanks 
   Mike
Sent from my BlackBerry device on the Rogers Wireless Network

-----Original Message-----
From: Bob Sneidar <bobs at twft.com>
Sender: use-livecode-bounces at lists.runrev.com
Date: Mon, 20 Feb 2012 13:02:12 
To: How to use LiveCode<use-livecode at lists.runrev.com>
Reply-To: How to use LiveCode <use-livecode at lists.runrev.com>
Subject: Re: How to use an array to solve the following...

Also each element in <array>

Bob


On Feb 20, 2012, at 10:34 AM, gcanyon+rev wrote:

> any time you find yourself writing:
> 
> repeat with i = 1 to the number of lines|words|items of someContainer
> 
> stop. Rewrite it as:
> 
> repeat for each line|word|item in someContainer


_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


More information about the use-livecode mailing list