NGGETI(3NCARG)
β¨ NGGETI β¨ β a whole page from the NCAR Graphics manual set (that's the manual name bestie, 3NCARG energy π
)
okay so real talk, this one is a little function that goes and fetches an integer. that's it. that's the vibe. let's get into it π«Ά
πΈ NAME πΈ
NGGETI β gets the current integer value of an internal parameter of Ngmisc of type INTEGER. See the ngmisc_params man page for a complete list of all the Ngmisc internal parameters.
not me being a whole little getter function. iconic behaviour honestly. π
π SYNOPSIS π
CALL NGGETI (PNAM,IVAL)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_nggeti (char *pnam, int *ival)
π DESCRIPTION π
PNAMβ an input constant or variable of type CHARACTER. it specifies the name of the parameter whose value is to be retrieved. and likeβ¦ only the first two characters of the string are examined. two. that's the whole vibe check. don't come at it with a novel, it's reading the first two letters and moving on fr fr πIVALβ an output variable of type INTEGER. this is where the current value of the internal parameter lands. it's giving output variable main character energy.
π C-BINDING DESCRIPTION π
The C-binding argument descriptions are the same as the FORTRAN argument descriptions.
yes bestie, same energy, just in C. no notes. π
β USAGE β
This routine allows you to retrieve the current value of Ngmisc parameters. For a complete list of parameters available in this utility, see the ngmisc_params man page.
lowkey this is the entire job description. you want a number, it hands you the number. slay. π₯
π ACCESS π
To use NGGETI or c_nggeti, load the NCAR Graphics libraries ncarg, ncarg_gks, ncarg_c, and ncarg_c, preferably in that order.
okay so heads up: ncarg_c shows up twice in that list. that's not me being chaotic, that's literally what it says. link them in that order and you're golden. π
π§ SEE ALSO π§
- Online:
ngmisc_params,ngseti,nggetc,ngsetc,nggetr,ngsetr,ncarg_cbind. - Online URL:
http://ngwww.ucar.edu/ngdoc/ng/gks/gkshome.html - Hardcopy: NCAR Graphics Fundamentals, UNIX Version;
the whole getter/setter friend group π«Άnggetiandngsetiare literally siblings, one gets, one sets, and the rest of the crew is right there in the list. iykyk.
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
protect the license bestie, it's not optional. π
and that's the whole page, periodt. this one came from the UNIX corner of things, dated April 1994, and it lives under the title NGGETI(3NCARG) in the NCAR Graphics collection. go get your integers, you absolute legend πβ¨πΈ
π¦ 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