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 (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 πŸ’‹