INPUT #Channel_Number : variable, variable, … , variable
reads data from the file and assigns them to the variables.
Data must be separated by commas when the statement has more than one variable.
Regularly, execution of an INPUT statement reads a line from the file, but if a line ends with a comma, it is assumed to be continued to the next line.
LINE INPUT #Channel_Number : string_variable
reads a line from the file and assigns it to the variable.
INPUT #Channel_Number : variable, variable, … , variable, SKIP REST
If the line has too much data, excessive data is ignored.
INPUT #Channel_Number , IF MISSING THEN EXIT DO : variable, variable, … , variable
If the file pointer exceeds the end of the file, EXIT DO is executed.
LINE INPUT #Channel_Number , IF MISSING THEN EXIT DO : string_variable
EXIT FOR or a line number can be written instead of EXIT DO.
LINE INPUT #Channel_Number , TIMEOUT numeric_expression : string_variable
If no input reply is made within the specified seconds, an exception of extype 8401 is raised.
MAT INPUT #Channel_Number : array，array，…，array
All data must be written separated by commas, even if more than one array is specified.
If a line ends with a comma, this line is assumed to be continued to the next line.
2 or 3-dimensional arrays read data in the order of latter index changing fast.
let A be a 1-dimensional array.
MAT INPUT #Channel_Number : A(?)
reads data separated by commas. The upper bound may change according to the number of data.