Sign in Join
FPDoc Onlineexperiment

TStream.Error procedure

Member of TStreamIn unit Objects

Set stream status.

Declaration

pascal
procedure Error(Code: Integer; Info: Integer); virtual

Description

Error sets the stream's status to Code and ErrorInfo to Info. If the StreamError procedural variable is set, Error executes it, passing Self as an argument.

This method should not be called directly from a program. It is intended to be used in descendent objects.

Errors

None.

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