Has anybody noticed that when you do a trace on command file, called by
a push button, that has the command CLOSEWINDOW, the trace seems to skip
over 
the command.  On the other hand it does make a difference.  In my case I
have a master command file that basically says....

EDIT USING masteform WHERE....

and the masterform has a bunch of push buttons, each which calls the
same file....ie...

RUN pushbuttonfile.cmd USING 'param1'

The last 3 lines in the pushbutton file are...

SET V vjump = 'YES"
CLOSEWINDOW
RETURN

The commands that called the form with the pushbuttons are.....

EDIT USING masterform WHERE.....
LABEL JUMP
IF vjump = 'YES' THEN
  run whatever.cmd
ENDIF

IF I don't use the CLOSEWINDOW command in the pushbutton file, the
program does not get to the "JUMP" until I exit the master form.  But if
I do use the CLOSEWINDOW, it seems to work but the debugger just sort of
skips over the CLOSEWINDOW.  

Does this make sense?  Is this what is supposed to happen?

TIA!

Mike Sinclair

Reply via email to