IMath.ErrorMsg

Syntax

ErrorMsg: String;

Description

The ErrorMsg property returns the error information message. If there is no error, it returns "No error".

Example

Sub Main;

Var

a: Double;

Result: String;

Begin

a := Math.Sqrt(-10);

Result := Math.ErrorMsg;

End Sub Main;

As a result the Result variable will contain an error information message: "The parameter value must be >=0".

See also:

IMath