How to trap for a CTRL-C on Unix or a CTRL-BREAK on Windows in Progress 4gl.
DO ON STOP UNDO, LEAVE:
…REPEAT ON ERROR UNDO, LEAVE
……ON STOP UNDO, RETRY:
………IF RETRY THEN DO:
…………MESSAGE “Stop condition…” VIEW-AS ALERT-BOX.
…………QUIT.
………END.
…END.
END.
see u…
Filed under: Progress | Leave a Comment
Tags: 4gl, break, c, code, ctrl, Progress, stop, trap

No Responses Yet to “How to trap for a CTRL+C or a CTRL+Break”