STGETI(3NCARG)

✨ STGETI ✨ β€” it's giving "grab me an INTEGER param" πŸ’…

okay so bestie, welcome to STGETI, a lil routine from the NCAR GRAPHICS manual (the 3NCARG section, iykyk). Her whole job? Getting the current value of an internal parameter of type INTEGER. That's it. That's the gig. And she ate. πŸŽ€


🌸 NAME 🌸

STGETI β€” gets the current value of an internal parameter of type INTEGER. periodt. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

CALL STGETI (CNM,IVL)

🌈 C-BINDING SYNOPSIS 🌈

#include <ncarg/ncargC.h>

void c_stgeti(char *cnm, int *ivl)

πŸ’œ DESCRIPTION πŸ’œ

  • CNM (CHARACTER, input) β€” this is the name of the parameter whose integer value you wanna retrieve. Only the first three characters of CNM are examined β€” so like, the rest is just for the vibes (and readability, which honestly slays). The three characters have to be either entirely upper case or entirely lower case β€” mixed case is NOT recognized, no cap, she will not clock it. And speaking of readability: it's recommended that you use the rest of the character string to make your code nicer to read. Like, instead of just PLR, use PLR - Polar Input Mode. Do it for your future self. 🫢
  • IVL (INTEGER, output) β€” a variable where the value of the parameter specified by CNM gets returned. The answer goes here, bestie. πŸ“₯

🧚 C-BINDING DESCRIPTION 🧚

The C-binding argument descriptions are the same as the FORTRAN argument descriptions. Literally identical. Same energy, different language. ✨


πŸ”₯ USAGE πŸ”₯

This routine lets you retrieve the current value of Streamlines parameters of type INTEGER. For the complete list of parameters available in this utility, go check the streamlines_params man page β€” she has the whole menu. πŸ‘‘


πŸ‘‘ ACCESS πŸ‘‘

To use STGETI or c_stgeti, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order. Order matters, babe. 🎯


πŸ’€ MESSAGES πŸ’€

See the streamlines man page for a description of all Streamlines error messages and/or informational messages. If something's acting up, that's where the receipts are. πŸ™ˆ


🌸 SEE ALSO 🌸

Online: stgetc, stgetr, stinit, stream, streamlines, streamlines_params, strset, stsetc, stseti, stsetr, stuixy, stumsl, stumta, stumxy, ncarg_cbind.

Hardcopy: 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 that's the whole page, you're literally an expert now, go get those INTEGERs πŸ’…βœ¨

This lil icon dropped in UNIX, dated April 1993, under the name STGETI(3NCARG) β€” and she's still serving. bye bestie, ily, go read the other streamlines pages πŸ¦‹πŸ’œπŸŽ€