collect the line numbers on the first pass, they ya gotta count backwards if you delete lines, Mark. Repeat for each won't work unless the entire script is rebuilt.
Do we need a "backwards offset"?? On 15 May 2010 10:33, Mark Wieder <[email protected]> wrote: > Scott- > > Saturday, May 15, 2010, 9:58:47 AM, you wrote: > > > The other thing to do is to make sure the line has no "into". > > ...as in (untested, but you get the idea) > > put yourScript into someVariable > filter someVariable with "put*" > filter someVariable without "*into*" > > repeat for each line tLine in someVariable > put lineOffset(tLine, yourScript) into tPos > if tPos is not 0 then > delete line tPos of yourScript > end if > end repeat > > -- > -Mark Wieder > [email protected] > > _______________________________________________ > use-revolution mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard Back home in SF _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
