FXALT - establish an alternate error procedure.

Usage:

external handlr
   ...
call fxalt(handlr)
  or
call fxalt($N)

Where:

handlr
is a subroutine with no arguments.
$N
designates statement N in the calling program as the alternate error return.

Description:

FXALT is used to define the "alternate error handler" for a program. The "alternate error procedure" is called (or transferred to for $N) when an error occurs for which use of the alternate error procedure was specified by a call to FXOPT.

A return statement in subroutine "handlr" causes execution to be continued at the next executable statement following the statement that caused the error.

Notes:

Care must be taken to avoid a loop in the error handling procedure.

See Also:

expl f77 lib fxopt
for how to specify that the alternate error procedure should be used.
expl f77 lib anyerr
for how to distinguish between different errors that use the alternate error procedure.

Copyright © 1996, Thinkage Ltd.