Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
CheckEOF
◄Crt Unit► ◄Contents► ◄Index► ◄Back►
VAR
CheckEOF : Boolean; { state of CTRL+Z checking on input }
Unit: Crt
Context: Eof, Read, Readln, Reset
Description
When CheckEOF is set to True, a CTRL+Z input at the keyboard ends
input. If multiple numbers are being read in when CTRL+Z is
pressed, variables that have not received input are set to 0. After
CTRL+Z is entered, the Eof function returns True. It does so until
the file is Reset.
When CheckEOF is False, an input of CTRL+Z is interpreted as the
character ASCII 26.
Default setting is False.