Finding orphaned "put"

Dr. Hawkins dochawk at gmail.com
Sat May 4 17:19:02 EDT 2013


On Sat, May 4, 2013 at 1:05 PM, william humphrey
<bill at 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"?

I've dealt with this by having a "ck" command.  I can variously set it
answer the argument, put the argument, or append to a field in a watch
window (or a combination of these)

If nothing else, I can find these with breakpoints . . .


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462




More information about the use-livecode mailing list