ENTSR(3NCARG)
β¨ ENTSR β it's giving "recovery mode, bestie" β¨
okay so this is a page from NCAR GRAPHICS, and it's all about ENTSR, the lil subroutine you call when you want to flip your error-recovery vibes on (or off, or just peek at them π). manual section 3NCARG, let's go π
πΈ NAME πΈ
ENTSR β Called by a user to set recovery mode in NCAR Graphics.
π SYNOPSIS π
CALL ENTSR(IROLD,IRNEW)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_entsr(int *irold, int irnew)
π DESCRIPTION π
so basically, the FORTRAN statement CALL ENTSR(IROLD,IRNEW) is normally what you use to enter recovery mode and save the previous value of the internal error-recovery flag. but bestie, it's flexible like that β you can also use it to exit recovery mode and save the previous value of the flag, or literally just get the value of the flag without changing anything at all. multitasking queen π
β οΈ okay important one: if recovery mode gets turned off by a call toENTSRat a time when the internal error flag is non-zero, that's treated as a fatal error. the error message gets printed, the dump routineFDUMis called, and aSTOPis executed. so like. don't do that π
the arguments of ENTSR are as follows:
IROLDβ (an output variable of typeINTEGER) β receives the old value of the internal flag that says whether recovery mode is in effect or not. if it is in effect, the returned value will be a1; if it's not, it'll be a2. normally you save that returned value for a later call toRETSRπ«ΆIRNEWβ (an input expression of typeINTEGER) β specifies what's gonna happen to the internal flag that says whether recovery mode is in effect or not. ifIRNEWis a1or a2, it becomes the new value of the internal recovery-mode flag: the value1turns recovery mode on, and the value2turns it off. other non-zero values are illegal, but β plot twist β ifIRNEWis zero, the state of the internal recovery-mode flag is not changed. zero = we're just vibing, no touchy π
π C-BINDING DESCRIPTION π
the C-binding argument descriptions are the same as the FORTRAN argument descriptions. same energy, different language, slay β¨
β EXAMPLES β
use the ncargex command to see the following relevant examples: tseter, arex02. go look, they ate π₯
π ACCESS π
to use ENTSR or c_entsr, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. order matters, don't fight it π
π SEE ALSO π
online: eprin, errof, error_handling, fdum, icfell, icloem, nerro, retsr, semess, seter, ncarg_cbind
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
and that's the whole page, bestie π this was the UNIX flavor, from way back in March 1994, living under the name ENTSR(3NCARG) β iconic then, iconic now. no cap. periodt. πΈβ¨
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms