Indicates the access mode on typed and untyped files opened by the Reset procedure.
FileMode: Byte = 2;
Byte FileMode = 2;
In Delphi code, FileMode determines the access mode to use when typed and untyped files (not text files) are opened using the Reset procedure.
The default FileMode is 2 (Read/Write access). Assigning another value to FileMode causes all subsequent Resets to use that mode. The SysUtils unit declares a number of file open mode constants that can be assigned to the FileMode variable.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!