Technical Information

Application Development Manual

Entering a numerical value or text using the keys

Function

Enter a numerical value or text using the keys.

Syntax

Detailed Description

The INPUT statement displays the text specified by the prompt on the screen and waits for keyboard input.

Pressing most keys displays the corresponding character on the screen. The backspace (BS) and Cancel (C) keys, however, have editing functions.

Pressing the ENT key signals the end of input and assigns the input to the specified variable.

Examples
Prompt for numerical input
  private quantity%
input "Count =", quantity%
Prompt for string input
  private code$
input "Product code =", code$

Contact us

QBdirect