This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Input and Output / File Input  /
EndOfFile

  • EndOfFile is a symbol returned by Read when it reaches the end of a file.
  • Subsequent calls to Read will also give EndOfFile.
  • See the Mathematica book: Section 2.11.7.