NGGETR(3NCARG)

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

✨ NGGETR β€” bestie, let's go get that real number ✨

okay so this is the NGGETR(3NCARG) page from the NCAR GRAPHICS manual, and it's genuinely iconic. it's all about pulling a REAL value out of Ngmisc's internal params. 🫢


πŸ’– NAME πŸ’–

NGGETR β€” gets the current real value of an internal parameter of Ngmisc of type REAL. and like, if you want the whole list of every Ngmisc internal parameter that exists? go read the ngmisc_params man page, bestie, it's all there. πŸ‘‘


🌸 SYNOPSIS 🌸

CALL NGGETR (PNAM, RVAL)

that's it. two args. we love a low-effort queen. πŸ’…


πŸ¦‹ C-BINDING SYNOPSIS πŸ¦‹

#include <ncarg/ncargC.h>

void c_nggetr (char *pnam, float *rval)

C girlies, this one's for you. πŸŽ€


✨ DESCRIPTION ✨

  • PNAM β€” an input constant or variable of type CHARACTER. it's the name of the parameter whose value you're tryna retrieve. and here's the tea: only the first two characters of the string are examined. so like. don't get cute with it. πŸ‘€
  • RVAL β€” an output variable of type REAL. this is where the value of the internal parameter lands. she's the main character of this function fr. πŸ’…

🌈 C-BINDING DESCRIPTION 🌈

the C-binding argument descriptions are literally the same as the FORTRAN argument descriptions. no notes. same vibes, different syntax. ✨


🧚 USAGE 🧚

this routine is your girl for retrieving the current value of Ngmisc parameters. and if you need the complete list of parameters available in this utility, the ngmisc_params man page has you covered. no cap. πŸ“


πŸ‘‘ ACCESS πŸ‘‘

to use NGGETR or c_nggetr, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, ncarg_c, and ncarg_c β€” preferably in that order. yes bestie, ncarg_c really is listed twice. that's not a typo on my end, that's just how the page says it. write it down exactly like that. πŸ“πŸ’–


πŸ”₯ SEE ALSO πŸ”₯

a whole squad. go read all of them, i'm obsessed. 🫢


Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
okay so real talk: this software is governed by a License Agreement. not optional, not a vibe, it's the rules. read it. respect it. πŸ’…

and that's the whole page, babe. this was the NGGETR(3NCARG) entry from the UNIX manual, dated April 1994 β€” yeah, she's vintage but she still slays. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from