adelman@LBL-CSA2.ARPA (Kenneth Adelman) (08/02/87)
You can simulate the effect of the control-Y ast in a program by calling LIB$PAUSE to suspend your program execution. Of course, if you want the simulation to be exact, you should probably use LIB$ENABLE_CTRL to check and see if control-Y is enabled in the first place (and if it isn't, then don't LIB$PAUSE). Kenneth Adelman LBL
todd@CINCOM.UMD.EDU ("TODD AVEN") (08/04/87)
In FORTRAN (back when I programmed in FORTRAN), I had a need to interrupt the program at a well-defined point, define a logical name, and CONTINUE. Well, it turns out that FORTRAN provides the PAUSE statement. Its action is identical to a CTRL/Y, though I do not know whether some obscure method for sending an AST is used or some more- or less-arcane non-AST method is used. But the net effect was that of a CTRL/Y AST -- you could perform any CLI routine(s) including DISCONNECT, SPAWN, etc., and later CONTINUE. Hope it helps... Regards, Todd Aven the Softwear Sweatshop (212)807-7800 (Datability) ------