EndOfFile

EndOfFile

is a symbol returned by Read when it reaches the end of a file.

Details

Examples

Basic Examples  (1)

Read returns EndOfFile after it reaches the end of a file:

All subsequent calls to Read will give EndOfFile:

Close the file:

Wolfram Research (1988), EndOfFile, Wolfram Language function, https://reference.wolfram.com/language/ref/EndOfFile.html.

Text

Wolfram Research (1988), EndOfFile, Wolfram Language function, https://reference.wolfram.com/language/ref/EndOfFile.html.

CMS

Wolfram Language. 1988. "EndOfFile." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EndOfFile.html.

APA

Wolfram Language. (1988). EndOfFile. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EndOfFile.html

BibTeX

@misc{reference.wolfram_2024_endoffile, author="Wolfram Research", title="{EndOfFile}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/EndOfFile.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_endoffile, organization={Wolfram Research}, title={EndOfFile}, year={1988}, url={https://reference.wolfram.com/language/ref/EndOfFile.html}, note=[Accessed: 22-November-2024 ]}