IMath.Status

Syntax

Status: Integer;

Description

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

Example

Sub Main;

Var

a: Double;

Result: Integer;

Begin

a := Math.Sqrt(-10);

Result := Math.Status;

End Sub Main;

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

See also:

IMath