Using 'for each' to modify a container

Mark Powell mark_powell at
Wed Oct 11 07:45:39 CDT 2006

I want to use the 'for each' form of the repeat loop, but don't know how
to use it to modify data within a container.  For example:

repeat for each line thisLine in vContainer
  put doSomeFunction(item -2 of thisLine) into item -2 of thisLine
  --how do I get the change back into vContainer?
end repeat


Mark Powell
mark_powell (at symbol)

More information about the use-livecode mailing list