EasyManua.ls Logo

Husky Hunter - Page 218

Husky Hunter
499 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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