ANYERR - establish a error code indicator.


call anyerr(errcod)


is an integer variable. When an error is handled by the error monitor, it will store the error number into "errcod".


ANYERR is used to establish a variable that can be used by the error monitor to communicate the type of error back to the program. It must be called before an error occurs.

For example, if a call to OVERFL indicated that an overflow of some type had occured, the program could check "errcod" to see what type of overflow had occurred. Alternately, "errcod" might be checked inside an alternate error procedure established by FXALT and FXOPT.


Errors handled by the ERR= option of an I/O statement are not handled by the error monitor, so "errcod" will not be set.

See Also:

expl f77 lib overfl

expl f77 lib fxalt

expl f77 lib fxopt

Copyright © 1996, Thinkage Ltd.