xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

SetFCreate()

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

Syntax

SetFcreate( [<nNewAttribute>] ) --> nOldAttribute

Arguments

<nNewAttribute>
This is a numeric value specifying the file attributes to set. Values of the following list are used for file attributes. To specifiy multiple attributes, pass the sum of the corresponding values:

Values for file attributes
ValueAttribute
0Normal
1Read only
2Hidden
4System
8Volume
32Archived

Return

The function returns the default file attribute(s) current before the function is called.

Description

This function exists for compatibility reasons only. A default file attribute can be queried and/or set with SetFCreate(). However, no file function uses this file attribute as a default value.

Info

See also:FileAppend(), FileCCont(), FileCopy(), ScreenFile(), StrFile()
Category: CT:DiskUtil , File functions , Low level file functions
Source:ct\strfile.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe