PRB: Unrecognized Phrase/Keyword in Command w/ @...GET PICTURELast reviewed: June 27, 1995Article ID: Q100447 |
The information in this article applies to:
SYMPTOMSIf the PICTURE clause for a set of radio buttons exceeds the 254-character limit, the error message "Unrecognized Keyword/Phrase in Command" is returned.
CAUSEBecause 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 INFORMATIONThis 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' READThe 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
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |