Syntax
[C/C++:]
void gEnqLastErrors(int list[], int n, int *count);
[F90:]
subroutine gEnqLastErrors(list, n, count)
integer, intent(in) :: n
integer, intent(out) :: list(*),count
Arguments
list
Integer array returning error and warning numbers
n
Number of error and warning numbers to return
|
= 0, |
Nothing returned in list |
count
Number of errors logged since last call to gSetMaxErrorLimit()
Description
GINO keeps a count of all errors. The count is reset whenever gSetMaxErrorLimit() is called. gEnqLastErrors() returns the current count in
count. GINO also stores the 12 most recent error and warning numbers. Error numbers are positive, warning numbers are negative. gEnqLastErrors() returns
n error and warning numbers. All numbers beyond those currently recorded are set to zero. The numbers returned in array
list start with the most recent error or warning.
If
n is less than or equal to zero, no numbers are returned in
list. If
n is less than zero, a warning message is output.
See Also
gEnqLastErrors UsagegSetMaxErrorLimit