The entire third line is read in: "123 456 789" all the data on the line (except for leading or trailing spaces).
All those characters, including the two blanks,
are assigned to the variable.
The string INPUT
reads in consists of all the characters on one line
up to a comma or the end of the line.
There is no comma on this line, so all characters are read in.
The INPUT
statement does not do input of numbers just
because the data looks that way.
If you are doing input into a string variable, then the data gets
read in as strings, no matter what it looks like.
Say that the third line has not been read in yet and that then the following statement is executed:
INPUT #5, DATA
Notice that the variable name has been changed to a numeric variable.
In this case, what is read into the variable DATA
by
the new statement?