NERRO(3NCARG)
π NERRO π
okay so bestie, welcome to NERRO from the NCAR GRAPHICS manual (3NCARG section, she's a library girlie) π
This one's a little function you call to peek at the current value of the internal error flag that SETER keeps tucked away. Basically: "hey, is something broken in here or nah?" π¦
β¨ NAME β¨
NERRO β Referenced by a user to obtain the current value of the internal error flag of SETER.
β¨ SYNOPSIS β¨
NERR=NERRO(NERRF)
β¨ C-BINDING SYNOPSIS β¨
#include <ncarg/ncargC.h>
c_nerro(int *nerrf)
β¨ DESCRIPTION β¨
So here's the tea π: the FORTRAN expression NERRO(NERRF) has the value of the internal error flag of SETER. And if that value is non-zero? That means a prior recoverable error happened and has not yet been cleared β she's still hanging around, unresolved, living rent free π
The argument NERRF gets given the same value as the function reference itself, which is lowkey useful in some situations. Main character energy for a variable honestly π
The argument of NERRO is as follows:
NERRFβ (an output variable of type INTEGER) receives the same value that is returned as the value of the function itself. Like, it's the function's answer, but handed to you directly. Same vibe, two places πΈ
β¨ C-BINDING DESCRIPTION β¨
ngl the C-binding argument descriptions are literally the same as the FORTRAN argument descriptions. No notes, no drama, same facts π«Ά
β¨ EXAMPLES β¨
Use the ncargex command to see the following relevant examples: tseter, arex02. Go look, they ate π₯
β¨ ACCESS β¨
To use nerro or c_nerro, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. Order matters bestie, don't freestyle it π
β¨ SEE ALSO β¨
Online: entsr, eprin, errof, error_handling, fdum, icfell, icloem, 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.
fr fr, that's the whole page. go check your error flag, bestie, and clear it if it's non-zero πβ¨
UNIX Β· March 1994 β yeah she's vintage, an icon, a legend, and she's still serving ππ mwah π
π¦ 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