ErrorByStatus(Status: Integer): String;
Status. Error number. Use the Status property to get this number.
The ErrorByStatus property returns an error message by the error number.
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: