SetFAttr procedure
Set file attributes.
Declaration
procedure SetFAttr(var f; attr: Word)Description
SetFAttr sets the file attributes of the file-variable
F.
F can be a untyped or typed file, or of type
Text.
F must
have been assigned, but not opened. The attributes can be a sum of the
following constants:
-
ReadOnly -
Hidden -
SysFile -
VolumeId -
Directory -
Archive
Under Unix like systems (such as Linux and BeOS) the call exists, but is not implemented,
i.e. it does nothing.
Errors
Errors are reported in
DosError.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
