Stray Puts

J. Landman Gay jacque at hyperactivesw.com
Fri Feb 24 15:58:56 EST 2012


On 2/24/12 1:55 PM, Dar Scott wrote:

> I suspect we are all doing this the wrong way.  Maybe there are
> debugging features or compiler optimizations that allow for better
> ways to do this.

I've started doing it the way someone else suggested. I use a handler:

on log pMsg
  put pMsg
end log

Then in the scripts:

LOG "Message about script performance."

When I want to stop logging, I just comment out the one-line body of the 
handler. If I really want to remove it all, I search for "LOG " (with 
space.)

I don't know of any native LiveCode way to do it.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list