IStatMethod.ErrorByStatus

Syntax

ErrorByStatus(Status: Integer): String;

Parameters

Status. Error number. Use the Status property to get this number.

Description

The ErrorByStatus property returns an error message by the error number.

Example

To execute the example, add a link to the Stat system assembly.

Sub UserProc;
Var
    LinR: ISmLinearRegress;
    stat: Integer;
Begin
    LinR := New SmLinearRegress.Create;
    stat := LinR.Status;
    Debug.WriteLine(LinR.ErrorByStatus(stat));
End Sub UserProc;

After executing the example the console window displays an error message by the obtained number of execution status.

See also:

IStatMethod