Using 'for each' to modify a container
rjb at robelko.com
Thu Oct 12 02:27:21 CDT 2006
>The first part though, about not changing the contents of a loop
>variable, does give unexpected results though I hardly ever get an
>actual script error. Usually I just get scrambled variables.
>Jacqueline Landman Gay | jacque at hyperactivesw.com
>HyperActive Software | http://www.hyperactivesw.com
Strange. I do it all the time and never seen a problem. Notably all
such loops in my programs are really short, no more than a few lines.
May be I am just lucky that I do not trigger the condition that
scrambles the content but it might be time to change my habits :)
More information about the use-livecode