Function FileAttr() Foundation

Determines file attributes of one or more files.

Syntax
FileAttr( [<cFileName>] ;
        ) --> nFileAttributes
Return

Returns the sum of file attributes set. File attributes are numeric values corresponding to #define constants found in XBTDISK.CH

FA_NORMAL

FA_READONLY

FA_HIDDEN

FA_SYSTEM

FA_DIRECTORY

FA_ARCHIVE

Description

<cFileName>

The parameter defaults to the name of the last file found with FileSeek().

NOTE

The attribute FA_VOLUME found in CA-Tools is not supported. The volume label can be retrieved using the Xbase++ function Directory().

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.