Microsoft KB Archive/88054

{| = FIX: Standard Version READKEY Returns 271 Value =
 * width="100%"|

ID: Q88054

2.00 MS-DOS kbprg kbfixlist kbbuglist

The information in this article applies to:


 * Microsoft FoxPro for MS-DOS, version 2.0

SYMPTOMS
In the Standard Version of Microsoft FoxPro version 2.0, the READKEY function returns an incorrect value.

STATUS
Microsoft has confirmed this to be a problem in Microsoft FoxPro version 2.0 for MS-DOS. This problem was corrected in Microsoft FoxPro version 2.0 for MS-DOS released November 15, 1991.

MORE INFORMATION
The following code sample demonstrates the problem. Respond to the first GET statement with the key combination ALT+M. Respond to the second GET statement by pressing ENTER. The correct value from READKEY is 15; in some versions of FoxPro, READKEY returns 271.

ON KEY LABEL alt+m DO test a = SPACE(10) @ 0,0 GET a  READ PROCEDURE test b = SPACE(10) @ 1,0 GET b  READ ? READKEY WAIT WINDOW Additional reference words: FoxDos buglist2.00 fixlist2.00 2.00 KBCategory: kbprg kbfixlist kbbuglist KBSubcategory: Solution Type : kbfix
 * }