LBGETI(3NCARG)

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

πŸ’– LBGETI β€” bestie edition πŸ’–

okay so this is a page from the NCAR Graphics manual (yes, the whole manual, she's iconic) and today we're talking about LBGETI, a lil routine that goes and gets you a number. a whole integer. for you. 🫢


✨ NAME ✨

LBGETI β€” retrieves the integer value of an internal parameter of Labelbar. that's it, that's the job, and she does it flawlessly. πŸ’…


✨ SYNOPSIS ✨

CALL LBGETI (PNAM, IVAL)

πŸŽ€ C-BINDING SYNOPSIS πŸŽ€

#include <ncarg/ncargC.h>

void c_lbgeti (char *pnam, int *ival)

✨ DESCRIPTION ✨

  • PNAM β€” this one's an input constant or variable of type CHARACTER, bestie, and it's a string that's three or more characters long. it has to start with one of these six character strings, no exceptions, we don't make the rules:
    • 'CBL'
    • 'CFL'
    • 'CLB'
    • 'WBL'
    • 'WFL'
    • 'WLB'
  • IVAL β€” this is your output variable, type INTEGER, and it's the name of the variable where the value of the parameter you specified with PNAM gets dropped off. 🚚✨ and here's the lil plot twist: if that internal parameter is actually of type REAL and it's holding the value "r", then what lands in IVAL is "INT(r)". so you get the int-ified version. no cap.

🌸 C-BINDING DESCRIPTION 🌸

the C-binding argument descriptions are literally the same as the FORTRAN argument descriptions. same vibes, different language, we love a consistent queen. πŸ‘‘


✨ USAGE ✨

this routine lets you retrieve the current value of Labelbar parameters. that's the whole point, that's the assignment, and she ate. πŸ”₯

and if you want the complete list of parameters available in this utility, go read the labelbar_params man page. it's giving encyclopedia but make it labelbar. iykyk. πŸ“š


✨ ACCESS ✨

to use LBGETI or c_lbgeti, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” and preferably in that order, okay?? the order matters, she's particular. πŸ’…


✨ MESSAGES ✨

wanna know about all the Labelbar error messages and/or informational messages? go check the labelbar man page, it has the whole rundown. ✨


✨ SEE ALSO ✨

Online: labelbar, labelbar_params, lbfill, lbgetr, lblbar, lbseti, lbsetr, 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.
bestie this is a legal thing, not a vibe thing β€” the use of this Software is governed by a License Agreement, so pls respect it. 🫢

and that's the whole page, mwah πŸ’‹

this lil slice of the UNIX manual is dated March 1993 and it's filed under LBGETI(3NCARG) β€” yes she's vintage, yes she still slays, periodt. πŸŒˆβ­πŸ’–

πŸ“¦ where this page comes from