How to Emulate INKEY$ Function by CALLing MS-DOS INTERRUPT (64933)
The information in this article applies to:
- Microsoft QuickBASIC 4.0, when used with:
- the operating system: MS-DOS
- Microsoft QuickBASIC 4.0b, when used with:
- the operating system: MS-DOS
- Microsoft QuickBASIC 4.5, when used with:
- the operating system: MS-DOS
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
- Microsoft Basic Professional Development System for MS-DOS 7.0
- Microsoft Basic Professional Development System for MS-DOS 7.1
This article was previously published under Q64933 SUMMARY
The INKEY$ function in QuickBasic can be replaced by the following
code example that uses two MS-DOS interrupt service routines. These
interrupt routines allow NEWINKEY$ to function the same way that
INKEY$ works and return the same results for any given keystroke.
This information applies to Microsoft QuickBasic 4.00, 4.00b, and 4.50
for MS-DOS; to Microsoft Basic Compiler 6.00 and 6.00b for MS-DOS; and
to Microsoft Basic Professional Development System (PDS) versions 7.00
and 7.10 for MS-DOS.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB64933 |
---|
|