A statement which reads data in internal format from a file and puts them in the specified variables. INPUT# is normally used with a file or device opened with OPENIN, OPENUP or OPENOUT.


It is possible to read past the end-of-file without an error being reported. You should always include some form of check for the end of the file.

READ# can be used as an alternative to INPUT#.

See the Files section for more details and numerous examples of the use of INPUT#.


INPUT #<numeric>,<n-var>|<s-var>{,<n-var>|<s-var>}

Associated Keywords