IMath.Status

Syntax

Status: Integer;

Description

The Status property returns an error code. If no error happened, it returns zero.

Example

Sub UserProc;
Var
    a: Double;
    Result: Integer;
Begin
    a := Math.Sqrt(-10);
    Result := Math.Status;
End Sub UserProc;

As a result the Result variable will contain error code 7.

See also:

IMath