Enabling CTRL+C and CTRL+BREAK by Using PeekcharQQ (123687)
The information in this article applies to:
- Microsoft FORTRAN PowerStation for MS-DOS 1.0
- Microsoft FORTRAN PowerStation for MS-DOS 1.0a
This article was previously published under Q123687 SUMMARY
To break out of a long running program, it is customary to use CTRL+C or
CTRL+BREAK. However, MS-DOS only checks for CTRL+C or CTRL+BREAK when
processing keyboard input. If there is no keyboard input in a loop (it
contains only calculations), the program is likely to ignore CTRL+C and
CTRL+BREAK.
The PeekcharQQ() function performs keyboard input processing and should not
significantly slow down your program, if used cautiously.
Modification Type: | Major | Last Reviewed: | 10/2/2003 |
---|
Keywords: | KB123687 |
---|
|