FIX: Variable Not Created by ON KEY or ON ERRORLast reviewed: October 20, 1997Article ID: Q120191 |
2.5x 2.60 | 2.5x 2.60 | 2.5x
MS-DOS | WINDOWS | MACINTOSHkbprg kbbuglist kbfixlist The information in this article applies to:
SYMPTOMSThe ON ERROR and ON KEY LABEL commands will not create a variable.
STATUSMicrosoft has confirmed this to be a problem in FoxPro versions 2.5x and 2.6 for MS-DOS, FoxPro versions 2.5x and 2.6 for Windows, and FoxPro versions 2.5x for Macintosh. This problem was corrected in FoxPro version 2.6a for MS-DOS, Windows, and Macintosh.
MORE INFORMATION
Steps to Reproduce ProblemType the following commands in the Command window:
CLEAR ALL ON ERROR x=MESSAGE() zzzzzzz && this is supposed to invoke the ON ERROR routine ON ERROR && turns off the ON ERROR routine ?x && this should result in "Variable 'x' not found" CLEAR ALL ON KEY LABEL F2 x=1 * Press the F2 key ? x && this should result in "Variable 'x' not found" |
Additional reference words: FoxMac FoxDos FoxWin 2.50 2.50a 2.50b 2.50c
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |