- 4.62.2.8 -
Standard Units
System Unit
System Unit Procedures and FunctionsBlockRead procedure
Targets: MS-DOS, Win32
System Unit
Reads one or more records into a variable.
Declaration:
procedure BlockRead(var F: File; var Buf;
Count: Longint[; var Result: Longint]);
where:
F - untyped file variable
Buf - any variable
Count - an expression of type Word
Result - a variable of type Word
Remarks:
BlockRead works only on open files and advances the current
file pointer. IOResult returns an error
code if an error occurred, otherwise IOResult
is set to zero. Also note that BlockRead is not limited to 65,535 (64K)
bytes while reading from a file, i.e. Count may be > 64K.
|
|
|
Assigned function |
Table of Content |
BlockWrite procedure |
- 4.62.2.8 -