| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Untyped file type
Source position: filerec.inc line 32
type FileRec = record  | 
||
Handle: THandle;  | 
  | 
OS file handle  | 
Mode: LongInt;  | 
  | 
File open mode  | 
RecSize: SizeInt;  | 
  | 
Record size  | 
_private: array [1..3*SizeOf(SizeInt)+5*SizeOf(pointer)] of Byte;  | 
  | 
Private field  | 
UserData: array [1..32] of Byte;  | 
  | 
User data for use in custom file types  | 
name: array [0..filerecnamelength] of TFileTextRecChar;  | 
  | 
File name  | 
end;  | 
FileRec is the underlying type used in untyped files. It should be treated as opaque and never manipulated directly.
  | 
Text file type  | 
|
  | 
Assign a name to a file  | 
|
  | 
Open file for reading  | 
|
  | 
Close a file  | 
|
  | 
Open file for writing  |