Sign in Join
FPDoc Onlineexperiment

filemodes topic

In unit Dos

File open mode constants.

Declaration

pascal
filemodes

Description

These constants are used in the Mode field of the TextRec record. Gives information on the filemode of the text I/O. For their definitions consult the following table:

Possible mode constants
ConstantDescriptionValue
fmclosed

File is closed.

$D7B0
fminput

File is read only.

$D7B1
fmoutput

File is write only.

$D7B2
fminout

File is read and write.

$D7B3

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