GINO Graphics Suite - GINO v9.0  

gSetMaxErrorLimit

Syntax

[C/C++:]
void gSetMaxErrorLimit(int nerrs);
[F90:]
subroutine gSetMaxErrorLimit(nerrs)
integer, intent(in) :: nerrs

Arguments

nerrs
The maximum number of GINO errors allowed before the program is stopped (default 10)

= -1, No limit set
= 0, Any subsequent error stops the program

Description

GINO keeps a count of the number of errors generated. If this count exceeds the limit set by gSetMaxErrorLimit(), the program is stopped. Whenever GINO is initialized, the limit is set to 10, i.e. the 11th error stops the program. If nerrs is set to -1, no limit is set on the number of errors. The error count is reset to 0 whenever gSetMaxErrorLimit() is called.

Note:  GINO does not count warnings against the error limit.

See Also

gSetMaxErrorLimit Usage