ACCEPT Command
| Visual FoxPro 9.0 SP2 |
| ACCEPT Command |
| See Also |
|
Included for backward compatibility. Use the TextBox Control instead.
This command is undocumented in the original VFP9 help file,
but the following documentation was found in the FoxPro for Windows 2.6 help, and may still be valid:
Accepts character string data from the screen.
ACCEPT [expC] TO memvar |
Parameters
expCThe character expression expC is the prompt text that appears next to the area in which data is entered. In FoxPro for Windows and FoxPro for Macintosh, the prompt text appears in the same font as the font of the main FoxPro window. However, the character data you enter appears in 9 point FoxFont.
memvar
The memory variable or array element in which the character data is stored is specified with memvar. If the memory variable or array element isn't defined, it is automatically created by ACCEPT.
If you press Enter without entering data, the memory variable or array element contains the null string. If you press Esc when SET ESCAPE is OFF, the memory variable contains the null string. If you press Esc when SET ESCAPE is ON, program execution is suspended.
Remarks
Example
See Also
© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic

Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08