On 11/05/2010 04:51, David C. wrote:
Then I get to build a second version that keeps the deleted "F" items
in place while removing everything else.
Oh what a joy. ;-)

As Geoff demonstrated, the efficient way to do this is with "repeat for each line ..." and build up a new output variable.

This is doubly true if you also need to do something with the deleted "F" lines ....

repeat for each line L in tMyData
   if char 1 of L = "F" then
      process L
      put L & CR after tOutputFLines
   else
     process L differently
     put L & CR after tOutputNonFLines
  end if
end repeat

-- Alex.
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to