TextRec¶
Text file type.
Declaration¶
Source position: textrec.inc line 37
type
TextRec = record
Handle: THandle = LongInt;
Mode: LongInt;
bufsize: SizeInt = Int64;
_private: SizeInt = Int64;
bufpos: SizeInt = Int64;
bufend: SizeInt = Int64;
bufptr: = ^TextBuf;
openfunc: CodePointer = Pointer;
inoutfunc: CodePointer = Pointer;
flushfunc: CodePointer = Pointer;
closefunc: CodePointer = Pointer;
UserData: Array[1..32] of Byte;
name: Array[0..textrecnamelength-1] of TFileTextRecChar = UnicodeChar;
LineEnd: TLineEndStr = string[3];
buffer: Array[0..TextRecBufSize-1] of AnsiChar = char;
CodePage: TSystemCodePage = Word;
FullName: Pointer;
end;
Description¶
TextRec is the underlying type used in text files. It should be treated as opaque and never manipulated directly.