Function SetFcreate() Foundation

Sets the default file attribute(s) for creating files.

Syntax
SetFcreate( [<nNewFileAttribute>] ;  // Default: FA_ARCHIVE
          ) --> nOldFileAttribute
Return

Returns the default file attribute which was current before the function was called.

Description

The default file attribute(s) are only recognized by XbToolsIII functions, not by Xbase++ functions.

<nNewFileAttribute>

File attributes are numeric values corresponding to #define constants found in XBTDISK.CH

FA_NORMAL

FA_READONLY

FA_HIDDEN

FA_SYSTEM

FA_ARCHIVE Default

To set multiple attributes the constants must be added.

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.