Unit 'System' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

FileRec

Untyped file type.

Declaration

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)+SizeOf(pointer)+4*SizeOf(codepointer)] 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.

  FullName: Pointer;

end;

Description

FileRec is the underlying type used in untyped files. It should be treated as opaque and never manipulated directly.

See also

TextRec

  

Text file type.

Assign

  

Assign a name to a file.

Reset

  

Open file for reading.

Close

  

Close a file.

Rewrite

  

Open file for writing.


Documentation generated on: Oct 27 2024