william-

Saturday, May 4, 2013, 1:15:47 PM, you wrote:

> I have many lines of script which say "put something into variable"

> I have one line of script which just says "put variable" - what that does
> is open the message box. I'd like to find that line of script and delete
> it.

> Could I really put 6000 lines of script in a variable?

Yep. I occasionally need to put 11000 lines into a variable.
Anyway,

put theScript into tVariable
filter tVariable with "put*"
filter tVariable without "* into *"
filter tVariable without "* before *"
filter tVariable without "* after *"
if the number of lines in tVariable is 1 then
  find tVariable
end if

should get you close.

-- 
-Mark Wieder
 mwie...@ahsoftware.net


_______________________________________________
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

Reply via email to