searching for a put that opens message box

stephen barncard stephenREVOLUTION2 at barncard.com
Sat May 15 13:43:22 EDT 2010


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 <mwieder at ahsoftware.net> 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
>  mwieder at ahsoftware.net
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> 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



More information about the use-livecode mailing list