RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.fmOpenWrite Constant

Specifies a file should be opened for writing only.

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

SysUtils

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. 

 

fmOpenRead 

fmOpenReadWrite 

faShareCompat 

faShareDenyNone 

faShareDenyRead 

faShareDenyWrite 

faShareExclusive 

Reset 

FileMode 

Create

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!