| Overview | Module | Function | Class | Tea 3.2.4 Reference Documentation © 2009 PDM&FC |
TFileOutput
TFileOutput -> TOutput
Instances ofTFileOutput represent an output stream
associated with a file.
|
|
TFileOutput constructor fileName [appendFlag]
Opens the file for writing.
fileName for
writing. If the appendFlag is not specified than it is
taken as false. If the file does not exist then it is created with empty
contents. If the file already exists then if appendFlag
is false then the file contents are erased.
The file is opened in buffered mode by default.
If the file identified by fileName could not be opened
for writing then a runtime error will occur. This can happen
if the process has insufficient previleges or if fileName
refers to a nonexisting path.
| Overview | Module | Function | Class | Tea 3.2.4 Reference Documentation © 2009 PDM&FC |