BASIC FUNCTIONS
SECTION 5. 10
INPUT
5. 10. 7 Function INPUT obtains a line of data from HUt'ITER 's keyboard
Syntax
INPUT[; ]["prompt string"; J var1, var2, ... var n
Examples INPUT A
Inputs a numeric value from the keyboard and places it into
the variable A.
INPUT"Parameters" ;A ,B ,C$
Inputs the values of A, B, C$ with the prompt message:
Parameters?
A comma following the prompt string supresses the question
mark prnmpt following the prorrpt string:
INPUT"Parameters" ,A,B,C$
will' prompt:
Parameters
If no prompt message is required at all then the format
entered is:
INPUT"" ,A
A semicolon prior to the prompt string will inhibit the
echo of the users 'Carriage Re tum'·
Remarks Note that input lines are always terminated by pressing the
'ENTER' key.
INPUT cannot be used as a direct statement.
VER.V09F
PAGE 5 - 49