IDGETI(3NCARG)

✨ IDGETI β€” it's giving "get that integer parameter value" ✨

okay bestie, welcome to the NCAR Graphics corner of the manual pages, this one lives in the 3NCARG section and it's literally the vibe-check on your Bivar parameters πŸ’…

🌸 NAME 🌸

IDGETI β€” retrieves the integer value of a Bivar parameter. that's it, that's the whole job, and it eats every time πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

CALL IDGETI (PNAM,IVAL)

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

#include <ncarg/ncargC.h>

void c_idgeti (char *pnam, int *ival)

πŸ’– DESCRIPTION πŸ’–

  • PNAM β€” bestie this is an input constant or variable of type CHARACTER, and it's the name of the parameter you wanna retrieve. plot twist tho: the character string can be any length you want, but only the first two characters of it will even be examined. so like, don't come with a novel, two letters is the moment. πŸ™ˆ
  • IVAL β€” this one is an output variable of type INTEGER, a lil integer variable that receives the desired parameter value. here's the tea on how it behaves:
    • if the internal parameter is of type INTEGER and has the value "i", then IVAL gets handed the value "i" β€” easy, no drama ✨
    • if the internal parameter is of type REAL and has the value "r", then IVAL gets INT(r) β€” yes she truncates, that's just the arrangement πŸ’€

πŸ’œ C-BINDING DESCRIPTION πŸ’œ

the C-binding argument descriptions are literally the same as the FORTRAN argument descriptions. same facts, different font. no cap 🫢


🌈 USAGE 🌈

this routine is your girl for retrieving the current value of Bivar parameters. want the full roster of parameters available in this utility? go read the bivar_params man page, she's got the whole list. πŸ“‹


⭐ ACCESS ⭐

to use IDGETI or c_idgeti, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” and preferably in that order, okay? order matters, don't play with her. πŸ”₯


πŸ’Œ MESSAGES πŸ’Œ

see the bivar man page for a description of all Bivar error messages and/or informational messages. all the lore is over there bestie 🧚


πŸ‘‘ SEE ALSO πŸ‘‘

  • Online: bivar, bivar_params, idbvip, idsfft, idpltr, idgetr, idseti, idsetr, ncarg_cbind
  • Hardcopy: NCAR Graphics Contouring and Mapping Tutorial; NCAR Graphics Fundamentals, UNIX Version

Copyright (C) 1987-2009 University Corporation for Atmospheric Research

The use of this Software is governed by a License Agreement.

okay so legal girlies, this is the real one: the use of this Software is governed by a License Agreement. not optional, not a vibe, an actual agreement πŸ’…

and that's the whole page, mwah πŸ’‹ this was served up in the UNIX manual, November 1995, under the name IDGETI(3NCARG) β€” iconic vintage, still slaying, periodt. πŸŽ€βœ¨