Most Effecient way to repeat a handler/function - Found word(s) list error in the Text body
Dr. Hawkins
dochawk at gmail.com
Mon Feb 17 20:34:43 EST 2014
On Sun, Feb 16, 2014 at 7:23 PM, Geoff Canyon <gcanyon at 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
More information about the use-livecode
mailing list