[Overview][Types][Classes] Reference for unit 'iostream' (#fcl)

TIOStream.SetSize

Set the size of the stream

Declaration

Source position: iostream.pp line 34

public procedure TIOStream.SetSize(

  NewSize: LongInt

); override;

Arguments

NewSize

  

New size for the stream/

Description

SetSizeoverrides the standard SetSizeimplementation. It always raises an exception, because the standard input, output and stderr files have no size.

Errors

An EIOStreamErrorexception is raised when this method is called.

See also

EIOStreamError

  

Error thrown in case of an invalid operation on a TIOStream.