Previous: BlockRead procedure To the Table of Content Next: Break procedure

- 4.62.2.9 -
Standard Units
System Unit
System Unit Procedures and Functions

BlockWrite procedure

Targets: MS-DOS, OS/2, Win32

System Unit

Writes one or more records from a variable.

Declaration:
procedure BlockWrite(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:
BlockWrite 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 BlockWrite is not limited to 65,535 (64K) bytes while writing to a file, i.e. Count may be > 64K.


Previous: BlockRead procedure To the Table of Content Next: Break procedure
BlockRead procedure Table of Content Break procedure

- 4.62.2.9 -