Unit 'Objects' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TStream.Error

Set stream status.

Declaration

Source position: objects.pp line 341

procedure TStream.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.


Documentation generated on: Nov 23 2024