On Sun, Feb 16, 2014 at 7:23 PM, Geoff Canyon <gcan...@gmail.com> wrote:

> It's pretty much my personal quest to convince everyone never to use repeat
> with i = 1 to the number of anything.
>

I'm frequently using

put 0 into i
repeat for each word theWord in someString
  add 1 to i
end repeat

as I frequently need the index value, too.



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
_______________________________________________
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