DOC: MENU() & PAD() Examples Cause Error MessageLast reviewed: January 8, 1997Article ID: Q126871 |
The information in this article applies to:
SUMMARYCopying the example program for the MENU() function from the Graphical online Help File, pasting it into a new program file, saving the program file with the suggested name (MENUEXAM.PRG) and then running it causes the following error message:
Unrecognized phrase/keyword in command <Cancel> <Suspend> <Ignore>This error message is caused by a space character inside the parentheses of the MENU() and PAD() functions on the following line of the program:
ON SELECTION MENU _MSYSMENU ; DO choice IN menuexam WITH PAD( ), MENU( )Remove the space that is between the parentheses in the PAD() and MENU() functions to eliminate the error message. This documentation error has been fixed in Visual FoxPro 5.0 for Windows.
MORE INFORMATIONThis problem only occurs when using the Graphical online Help files, FOXHELP.HLP, in FoxPro for Windows and FoxPro for Macintosh. The MENU() function examples in the .DBF-style online Help files for FoxPro do not contain the space between the parentheses of these two functions. The problem does not occur in FoxPro for MS-DOS or UNIX because they don't use Graphical Style Help files. The following manuals also contain the space between the parentheses of the MENU() and PAD() functions: FoxPro for MS-DOS and Windows, "Language Reference," page L3-648 FoxPro for Macintosh "Language Reference," page 526
|
KBCategory: kbprg kbdocerr kbdocfix
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |