Good idea, Mark. But... Then you have to put 'put empty' at the top of the section tested. Easy to search for, though. Or clear the message box by hand.
It would be nice to have a clear button on the message box. And a scroll bar. That way to you can accumulate several runs. You can put 'put empty' into the command line (or--I think--just 'empty' in earlier versions of LiveCode). (Oh, by the way, Mark, this old teletype programmer can never bring himself to use CR for the LiveCode newline.) Is GLX2 still available? 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. Dar On Feb 24, 2012, at 12:27 PM, Mark Wieder wrote: > Bob Sneidar <bobs@...> writes: > >> Anyone ever scripted a put to put something in the message box, >> and then forgot it was there and had a >> helluvatime finding it again? > > Nice, but no, a while back I stopped putting "put" statements in and replaced > them with > > put xyzzy & cr after msg > > that way I just have to search for "after msg". But your handler is very handy > for those times when I have to look at someone else's code. > > And... er... you *are* aware that glx2 already has this in the "Go" menu, > right? > > -- > Mark Wieder > > > > _______________________________________________ > 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 --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. d...@swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --------------------------- _______________________________________________ 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