Sign in Join
FPDoc Onlineexperiment

TIOStream.SetSize procedure

Member of TIOStreamprotectedIn unit IoStream

Set the size of the stream.

Declaration

pascal
procedure SetSize(const NewSize: Int64); override

Arguments

NewSize

New size for the stream/.

Description

SetSize overrides the standard SetSize implementation. It always raises an exception, because the standard input, output and stderr files have no size.

Errors

An EIOStreamError exception is raised when this method is called.

See also

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