David, When you "delete line j of tHold", the number of lines in tHold changes. So, tCount no longer meshes.
This is what I do instead: put empty into tHoldFiltered repeat for each line tLine in tHold if character 1 of tLine is "F" then next repeat put tLine & cr after tHoldFiltered end repeat if tHoldFiltered is not empty then delete the last char of tHoldFiltered put tHoldFiltered into tHold Cheers. -- Nicolas Cueto _______________________________________________ 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