Sorry, I meant "\", not "/" Pete lcSQL Software <http://www.lcsql.com>
On Sat, May 4, 2013 at 5:15 PM, Peter Haworth <p...@lcsql.com> wrote: > Hi Scott, > This will list lines that have a continuation char - "/" - at the end with > into/after/before on the next line. Pretty remote circumstance but I tend > to do that if I have a particularly long source with lots of "&" and "&&" > to make it more readable. > > Still think the regexp approach is the easiest - no scripts, just uses > standard script editor find function to look in the current object, stack, > stack file, etc. > > > Pete > lcSQL Software <http://www.lcsql.com> > > > On Sat, May 4, 2013 at 4:29 PM, Scott Rossi <sc...@tactilemedia.com>wrote: > >> Here's a script I use that answers the offending line(s) of script with >> line numbers: >> >> on mouseUp >> put script of <object> into S >> put empty into temp >> put 1 into N >> repeat for each line L in S >> if "put" is in L and ("into" is not in L and "after" is not in L and >> "before" is not in L) then >> put "Line" && N & cr & L & cr & cr after temp >> end if >> add 1 to N >> end repeat >> if temp is empty then >> answer "All clear!" >> else answer temp >> end mouseUp >> >> >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 5/4/13 1:05 PM, "william humphrey" <b...@bluewatermaritime.com> wrote: >> >> >I remember reading somewhere that version 6.0 or maybe GLX2 script editor >> >has a way to find an orphaned "put". Anybody have any suggestions? If I >> >search for every "put" in my 6500 lines of code it will take a while and >> >my >> >eyes will go blurry reading each one to check if it is putting to the >> >message box or not. Maybe there would be a way to "turn off" having a PUT >> >go right to the message box unless you say "put variable in the message >> >box"? >> >_______________________________________________ >> >use-livecode mailing list >> >use-livecode@lists.runrev.com >> >Please visit this url to subscribe, unsubscribe and manage your >> >subscription preferences: >> >http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode