Microsoft KB Archive/89090

{| = CHR(26) Not Valid as a Prompt for a Push Button in FoxPro =
 * width="100%"|

ID: Q89090

The information in this article applies to:


 * Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, and 2.5a
 * Microsoft FoxPro for Windows, versions 2.5 and 2.5a

SYMPTOMS
Although the following code was created by the Microsoft FoxPro for MS-DOS Screen Generator, it does not compile:

@8,18 get xyz picture &quot;@*HN ->;two&quot;; size 1,5,1 default 1

CAUSE
The PICTURE clause contains a CHR(26) character (indicated by ->).

RESOLUTION
Remove the CHR(26) character from the PICTURE clause.

Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a KBCategory: kbprg KBSubcategory: FxprgGeneral
 * }