Microsoft KB Archive/115588

{| = Correct Use of @ ... GET PICTURE for Numeric Data =
 * width="100%"|

ID: Q115588

The information in this article applies to:


 * Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, 2.5a, 2.5b, 2.6
 * Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b, 2.6
 * Microsoft FoxPro for Macintosh, versions 2.5b, 2.5c

SUMMARY
When you are using an @ ... GET command with a PICTURE clause, you must insert a space between the "@" and the remainder of the PICTURE clause.

For example, if you type the following in the Command window

test=SPACE(15) @ 2,2 GET test PICTURE '@ 9999-999-9999' READ you won't be able to enter any characters. However, if you change the PICTURE clause to "@9", you will be able to enter characters.