This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

$IgnoreEOF

$IgnoreEOF
specifies whether Mathematica should terminate when it receives an end-of-file character as input.
  • $IgnoreEOF is assumed to be False if the input to Mathematica comes from a file, rather than an interactive device.
Typical setting when using interactive input:
In[1]:=
Click for copyable input
Out[1]=
New in 1