Sign in Join
FPDoc Onlineexperiment

DbgSFileAttr function

In unit LazFileUtils

Generates a debugger message with information about the specified file attributes.

Declaration

pascal
function DbgSFileAttr(Attr: LongInt): string

Arguments

Attr

File attributes examined in the routine.

Function result

String with information about the file attributes.

Description

Attr contains the file attributes examined in the routine, with the following values displayed for the corresponding file attributes:

-1
Invalid
faDirectory
D
faArchive
A
faSysFile
S
faReadOnly
R
faHidden
H
faVolumeId
V
faSymLink
L

File attributes not found in Attrib are represented as '-' characters.

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