xHarbour Reference Documentation > Function Reference |
Returns a new TStreamFileWriter object.
FileWriter( <cFileName>, [<nFileAttr>] ) --> oTStreamFileWriter
Attributes for binary file creation
Constant | Value | Attribute | Description |
---|---|---|---|
FC_NORMAL *) | 0 | Normal | Creates a normal read/write file |
FC_READONLY | 1 | Read-only | Creates a read-only file |
FC_HIDDEN | 2 | Hidden | Creates a hidden file |
FC_SYSTEM | 4 | System | Creates a system file |
*) default attribute |
The function returns a new, initialized TStreamFileWriter object.
Function TStreamFileWriter() is the functional equivalent of TStreamFileWriter():new(). Refer to the description of the TStreamFileWriter object.
See also: | TStreamFileWriter() |
Category: | Object functions , xHarbour extensions |
Header: | fileio.ch |
Source: | rtl\stream.prg |
LIB: | lib\xhb.lib |
DLL: | dll\xhbdll.dll |
http://www.xHarbour.com