EPRIN(3NCARG)
π EPRIN π
okay bestie, so this is a page from the NCAR GRAPHICS manual, and today's main character is EPRIN. she's lowkey tiny but she's doing something real. let's get into it π«Ά
β¨ NAME β¨
EPRIN β prints the current error message. that's it. that's her whole job. and she ate π
πΈ SYNOPSIS πΈ
CALL EPRIN
like, that's the entire call. no arguments, no nothing. she's self-sufficient, she's independent, she doesn't need your input π
π¦ C-BINDING SYNOPSIS π¦
for my C girlies, you gotta pull in the header first:
#include <ncarg/ncargC.h>
void c_eprin()
same energy, different language. periodt.
π DESCRIPTION π
so here's the tea, fr fr: SETER is out here holding onto an internal error flag. if that flag is non-zero, then the FORTRAN statement
CALL EPRIN
prints out the remembered error message that goes with that non-zero value. like, she remembers what went wrong and she tells you. iconic behaviour honestly.
but if the flag is zero? EPRIN does nothing. she just vibes. no message, no drama, nothing. π
also important: EPRIN has no arguments. zero. none. don't come at her with parameters, she doesn't want them.
π C-BINDING DESCRIPTION π
okay so for the C-binding version, the argument descriptions are literally the same as the FORTRAN argument descriptions. and since EPRIN has no arguments... you already know. nothing to describe. the void. the silence. π§
β EXAMPLES β
wanna see her in action? use the ncargex command to check out these relevant examples:
tseterarex02
go look, bestie, they're right there π
π ACCESS π
to use EPRIN or c_eprin, you gotta load up the NCAR Graphics libraries β and listen, order matters here:
ncargncarg_gksncarg_c
and yeah, preferably in that order. don't be chaotic about it, okay? she's picky like that π
π₯ SEE ALSO π₯
if you wanna go down the rabbit hole (and you know you do), check out these online friends:
entsr, errof, error_handling, fdum, icfell, icloem, nerro, retsr, semess, seter, ncarg_cbind
iykyk π
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement. so like, respect the rules, bestie π
and that's the whole page!! this one's coming at you from UNIX, dated March 1994, under the name EPRIN(3NCARG). she's been around since before you were born and she's still serving β¨ mwah, go print some error messages π
π
π¦ 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