PRB: PAUSE Key Does Not Function in FoxPro for WindowsLast reviewed: June 27, 1995Article ID: Q98697 |
The information in this article applies to:
SYMPTOMSWhen you are executing a program file in FoxPro for Windows, pressing the PAUSE key does not halt execution of the program. In FoxPro versions 2.0 and later for MS-DOS, pressing the PAUSE key will stop a program's execution.
CAUSEThe Windows-based version of FoxPro interprets the PAUSE key differently than the MS-DOS-based versions do. This behavior is normal for a Windows- based application.
RESOLUTIONTo work around this behavior, do one of the following:
MORE INFORMATIONTo reproduce this problem, create the following program and name it TEST.PRG:
FOR A=1 TO 100000 ? A ENDFORThis program will scroll numbers down the screen. If this program is executed in FoxPro for MS-DOS, pressing the PAUSE key will halt the program; you must press the ENTER key to resume execution. In FoxPro for Windows, however, pressing the PAUSE key does not stop the program.
|
Additional reference words: FoxWin 2.50 2.50a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |