ncl_retsr (3) - Linux Man Pages
ncl_retsr: Called by a user to return to a saved state of the recovery mode in
RETSR - Called by a user to return to a saved state of the recovery mode in NCAR Graphics.
C-BINDING SYNOPSIS#include <ncarg/ncargC.h>
DESCRIPTIONThe FORTRAN statement "CALL RETSR(IROLD)" is normally used to return the internal error flag of SETER that says whether or not recovery mode is in effect to the state that it was in before some past call to ENTSR.
If recovery mode is turned off by a call to RETSR at a time when the internal error flag is non-zero, this is treated as a fatal error; the error message is printed, the dump routine FDUM is called, and a STOP is executed.
The argument of RETSR is as follows:
- (an input expression of type INTEGER) - Specifies a desired value for the internal flag that indicates whether recovery mode is in effect or not. The value 1 turns recovery mode on and the value 2 turns it off. Normally, one uses a value of IROLD that was previously returned by a call to ENTSR.
C-BINDING DESCRIPTIONThe C-binding argument descriptions are the same as the FORTRAN argument descriptions.
EXAMPLESUse the ncargex command to see the following relevant examples: tseter, arex02.
ACCESSTo use RETSR or c_retsr, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
COPYRIGHTCopyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.