Sign in Join
FPDoc Onlineexperiment

FileIsReadOnly function

In unit sysutils

Check whether a file is read-only.

Declaration

pascal
function FileIsReadOnly(const FileName: UnicodeString): Boolean

Description

FileIsReadOnly checks whether FileName exists in the file system and is a read-only file. If this is the case, the function returns True, otherwise False is returned.

See also

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