User`s manual
3-9
Be sure to enter the correct type of value according to what is called for by
the INPUT statement. For example, you can't input a string-value into a
numerical variable. If you try to, the Computer will display a
?REDO
?_
and give you another chance to enter the correct type of data value, starting
with the first value called for by the INPUT list.
NOTE:
You cannot input an expression into a numerical value you must
input a simple numerical constant. (LEVEL I allowed you to input an
expression or even a variable into a numerical variable.)
Example:
100 INPUT X1,Y1$
200 PRINT X1,Y1$
RUN
?_
[you type:]
7+3
(
[ENTER]
)
? REDO
?_
[you type:]
10
([ENTER])
??_
[you type:]
"THIS IS A COMMA:,"
10 THIS IS A COMMA:,
It was necessary to put quotes around "THIS IS A COMMA:," because the
string contained a comma.
If you
[ENTER]
more data elements than the INPUT statement specifies, the
Computer will display the message
?EXTRA IGNORED
and continue with normal execution of your program.
If you press
[ENTER]
without typing anything, the variables will have the
value they were previously assigned.
You can also include a "prompting message" in your INPUT statement. This
will make it easier to input the data correctly. The prompting message must
immediately follow "INPUT", must be enclosed in quotes, and must be
followed by a semi-colon.










