Sign in Join
FPDoc Onlineexperiment

TDosStream.Write procedure

Member of TDosStreamIn unit Objects

Write data from a buffer to the stream.

Declaration

pascal
procedure Write(var Buf; Count: LongInt); virtual

Description

If the Stream is open and the stream status is stOK then Write will write Count bytes from Buf and place them in the stream.

For an example, see Read.

Errors

In case of an error, Status is set to StWriteError, and ErrorInfo gets the OS specific error.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.