Compressible Flow Subroutine Library
Programming Reference Manual
Version 1.0 DD-00008-110E

3.1.3 arsyerr - Retrieve and reset error code
INTEGER FUNCTION AR01AB(FN, CLEAR)
  CHARACTER FN(16)
  LOGICAL CLEAR

Returns the last error code and messages that occured in the current thread.

Parameters

FN - CHAR POINTER

EXIT: (optional) Pointer to store a pointer to the function name string.

CLEAR - BOOLEAN

ENTRY: Whether to clear the error code from the thread-local context.