INPUT

The INPUT command interrupts the execution of the script and reads in a value via a dialog box. This value is then assigned to a variable.

There are two options for the INPUT command:

  • INPUT variable
    shows a question mark and waits for the input, which is saved in the variable variable.
  • INPUT "Question", variable
    displays a text and waits for the input to be saved in the variable variable.

Example

INPUT "INPUT BREITE: ", b
shows “Input width:” and saves the value in the variable B.