NGGETI(3NCARG)

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

✨ 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 🧚

the whole getter/setter friend group 🫢 nggeti and ngseti are literally siblings, one gets, one sets, and the rest of the crew is right there in the list. iykyk.

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