PRB: Unrecognized Phrase/Keyword in Command w/ @...GET PICTURE

Last reviewed: June 27, 1995
Article ID: Q100447
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a
  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, and 2.5a

SYMPTOMS

If the PICTURE clause for a set of radio buttons exceeds the 254-character limit, the error message "Unrecognized Keyword/Phrase in Command" is returned.

CAUSE

Because the PICTURE clause for a radio button is a string, it must follow the rules that govern all other strings within the FoxPro environment. One of these rules is that strings cannot exceed 254 characters in length.

MORE INFORMATION

This error message may cause confusion because the string itself may be valid as far as the syntax for radio buttons is concerned. The code below will demonstrate this error. It tries to display a set of push buttons with the numbers 1 through 31 spelled out.

   CLEAR
   STORE 1 TO mchoice
   @ 5,5 GET mchoice PICTURE '@*R one;two;three;...;thirty;thirty one'
   READ

The PICTURE clause of the @..GET command for radio buttons is used to specify the prompts for the radio buttons. This clause contains a string that corresponds to the prompts for the radio buttons.


Additional reference words: FoxDos FoxWin 2.50 2.00 RADIO PICTURE STRING
errmsg
err msg 2.50a
KBCategory: kbprg kberrmsg kbprb
KBSubcategory: FxprgGeneral


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.