int GetErrorCount()
Return Type: int
Parameters: none
Description:
GetErrorCount returns the total number of errors that have occurred. Errors
that are processed using a try-catch statement,
and are not thrown as a result, do not add to this count.
Example
Code |
1 >>int
i = 10;
2 >>bad command
** ERROR: (1) from 'Console' on Line 2 - Unrecognized statement
3 >>i = GetErrorCount();
4 >>disp(i);
1 |