Using 'for each' to modify a container

Bill Marriott wjm at wjm.org
Wed Oct 11 22:21:02 CDT 2006


> you can manipulate tLine to your hearts content, but not tData. tData has
> already been examined, parsed, and put into memory in known places so
> iteration through the loop can go lightning fast... if you attempt to 
> change
> tData you throw a wrench in the works.

But Ken, that's exactly what the documentation says is NOT to be done (and 
should generate a script error).

My first post assumed what you said (ok to manipulate tLine, not to 
manipulate tData), but it seems the reality is opposite. Weird, huh? :) 






More information about the use-livecode mailing list