EPRIN(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

πŸ’– 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:

  • tseter
  • arex02

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:

  • ncarg
  • ncarg_gks
  • ncarg_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 (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