Using 'for each' to modify a container

Robert Brenstein rjb at robelko.com
Thu Oct 12 03:27:21 EDT 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 :)

Robert Brenstein



More information about the use-livecode mailing list