TStream.Error

Set stream status

Declaration

Source position: objects.pp line 327

default 
  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.

results matching ""

    No results matching ""