RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.fmOpenWrite Constant

Specifies a file should be opened for writing only.

Pascal
fmOpenWrite = $0001;
C++
fmOpenWrite = 0x0001;

fmOpenWrite is one of the values you can assign to FileMode. It is also one of the attributes assignable in the Create. The TFileStream is used to read and write files. When you assign the value fmOpenWrite, subsequent calls to Reset open files for writing only. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!