Daniel Nelson > Hello Petro, > > I'd recommend changing approaches, but I'm not quite clear on what you > want to do. My approach > would be to repeat through with i = 1 to tLines, and rebuilding the string > into an empty string. > Then you would make edits by modifying the strings prior to appending them > to the new string. > > Something like: > > newString = EMPTY > repeat with i = 1 to tLines > aLine = tText.line[i] > --modify aLine > put aLine after newString > end repeat > > Regards, > > Daniel
Hi Daniel, Yep, worked like a charm. You were 100 percent correct: I should have changed the approach. Thanks Peter [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
