SLGETR(3NCARG)

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

✨ 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", then RVAL = REAL(i) β€” she converts it for you, no cap πŸ”₯
    • if the internal parameter is of type REAL and has the value "r", then RVAL = r β€” just straight through, as-is 🌈

πŸ’œ 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 (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