INPUT Command

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:

Inputs data from the keyboard into a system memory variable or an array element.

INPUT [expC] TO memvar

Parameters

expC
 Include expC to display a prompting message. expC is the message you want to display.

memvar
 memvar is the system memory variable or an array element into which you want to input data entered from the keyboard. If memvar is a system memory variable that doesn't exist, INPUT creates it.

 The expression input from the keyboard determines the type of system memory variable or array element created. If you input a numeric value, a numeric system memory variable or array element is created; if you input a character value, a character system memory variable or array element is created, and so on. If you input a character value, it must be delimited by brackets or single or double quotation marks.

Expand imageRemarks

Expand imageExample

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic