INPUT¶
Function¶
INPUT# reads data from file.
Syntax¶
INPUT#file no,var1,var2, … . varX
Examples¶
INPUT#1,A,B$,C$
This will input data to the variables A,B$ and C$ from file number 1.
Remarks¶
The variable specified in the INPUT statement the should match type of data stored in the file.
The End of file function EOF should be checked to detect if the end of the data has been reached. See EOF for examples.