Using 'for each' to modify a container

Mark Powell mark_powell at symantec.com
Wed Oct 11 08:45:39 EDT 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

Thanks!

Mark Powell
mark_powell (at symbol) symantec.com




More information about the Use-livecode mailing list