LBGETI(3NCARG)
π 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 typeCHARACTER, 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, typeINTEGER, and it's the name of the variable where the value of the parameter you specified withPNAMgets dropped off. πβ¨ and here's the lil plot twist: if that internal parameter is actually of typeREALand it's holding the value"r", then what lands inIVALis"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 β¨
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
- 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