TextRec
Text file type
Declaration
Source position: textrec.inc line 37
Type
TextRec = record
public
Handle : THandle;
Mode : LongInt;
bufsize : SizeInt;
\_private : SizeInt;
bufpos : SizeInt;
bufend : SizeInt;
bufptr : ^TextBuf;
openfunc : CodePointer;
inoutfunc : CodePointer;
flushfunc : CodePointer;
closefunc : CodePointer;
UserData : Array[1..32] of Byte;
name : Array[0..textrecnamelength-1] of TFileTextRecChar;
LineEnd : TLineEndStr;
buffer : TextBuf;
FullName : Pointer;
end
Description
TextRec is the underlying type used in text files. It should be treated as opaque and never manipulated directly.
See also
Name | Description |
---|---|
Assign | Assign a name to a file |
Close | Close a file |
CodePointer | Code pointer (8/16 bit targets) |
CodePointer | Code pointer (8/16 bit targets) |
CodePointer | Code pointer (8/16 bit targets) |
CodePointer | Code pointer (8/16 bit targets) |
FileRec | Untyped file type |
LongInt | A signed 32-bits integer |
Reset | Open file for reading |
Rewrite | Open file for writing |
SizeInt | Signed integer type which fits for sizes |
SizeInt | Signed integer type which fits for sizes |
SizeInt | Signed integer type which fits for sizes |
SizeInt | Signed integer type which fits for sizes |
TextBuf | Text buffer |
TextBuf | Text buffer |
THandle | Type alias. |
TLineEndStr | Line ending string type |