Sign in Join
FPDoc Onlineexperiment

CtrlZMarksEOF constant

In unit System

Determine whether CTRL-Z marks the end of file.

Declaration

pascal
CtrlZMarksEOF: Boolean = False

Description

CtrlZMarksEOF indicates whether on this system, an CTRL-Z character (ordinal 26) in a file marks the end of the file. This is False on most systems apart from DOS and Windows.

To get DOS/Windows-compatible behaviour, this constant can be set to True

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.