SLGETR(3NCARG)
β¨ SLGETR β get that real value, bestie β¨
okay so this is a page from the NCAR GRAPHICS manual, section 3NCARG, and it's all about one lil' Fortran routine called SLGETR π
π NAME π
SLGETR β gets the current real value of an internal parameter of Scrolled_title of type INTEGER or REAL. π
and if you want the whole list of every Scrolled_title internal parameter, go look at the scrolled_title_params man page, fr fr. π
πΈ SYNOPSIS πΈ
CALL SLGETR (PNAM, RVAL)
that's it. that's the whole vibe. π
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_slgetr (char *pnam, float *rval)
yes bestie, there's a C version too, she's serving π«Ά
β¨ DESCRIPTION β¨
PNAMβ an input constant or variable of type CHARACTER, and she specifies the name of the parameter whose value you wanna retrieve. π important lil detail: only the first three characters of the string are even looked at. so don't be out here typing a whole novel, she's reading three letters and moving on. πRVALβ an output variable of type REAL, and this is where the value of the internal parameter lands. here's the tea tho:- if the internal parameter is of type INTEGER and has the value
"i", thenRVAL = REAL(i)β she converts it for you, no cap π₯ - if the internal parameter is of type REAL and has the value
"r", thenRVAL = rβ just straight through, as-is π
- if the internal parameter is of type INTEGER and has the value
π C-BINDING DESCRIPTION π
the C-binding argument descriptions are literally the same as the FORTRAN argument descriptions. same energy, different syntax. periodt. β¨
π USAGE π
this routine lets you retrieve the current value of Scrolled_title parameters. that's her whole job and she does it flawlessly, ngl. π
and for a complete list of parameters available in this utility, see the scrolled_title_params man page β she's the master list, go pay her a visit. π
π₯ ACCESS π₯
to use SLGETR or c_slgetr, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, ncarg_c, and ncarg_c β preferably in that order, bestie. don't fight the order, the order is iconic. π§
π MESSAGES π
see the scrolled_title man page for a description of all Scrolled_title error messages and/or informational messages. if something's yelling at you, that's where the answers live. π
π SEE ALSO π
Online: ftitle, scrolled_title, scrolled_title_params, slgeti, slogap, slrset, slseti, slsetr, stitle, ncarg_cbind.
Hardcopy: NCAR Graphics Fundamentals, UNIX Version; User's Guide for NCAR GKS-0A Graphics
like hello?? the whole friend group is linked up π go read them all, iykyk.
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
respect the license, bestie, it's giving legal realness π
and that's the whole page!! π source/version vibes: this one's from the UNIX manual, dated July 1995, tagged SLGETR(3NCARG). iconic behavior from 1995 honestly, she ate and left no crumbs πβ¨ bye bestie, go get those real values!! π¦π
π¦ 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