SLSETR(3NCARG)

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

okay so this is a page from the NCAR GRAPHICS manual, and honestly? it's a little baddie. let's get into it.


✨ NAME ✨

SLSETR β€” she hands a brand-new real value to an internal parameter of Scrolled_title that's of type INTEGER or REAL. πŸ’…

and if you wanna see literally every single Scrolled_title internal parameter that exists? go read the scrolled_title_params man page, she's got the full list. no cap.


✨ SYNOPSIS ✨

CALL SLSETR (PNAM, RVAL)

that's it. that's the whole vibe. πŸŽ€


✨ C-BINDING SYNOPSIS ✨

#include <ncarg/ncargC.h>

void c_slsetr (char *pnam, float rval)

✨ DESCRIPTION ✨

  • PNAM β€” okay so this is an input constant or variable of type CHARACTER, and she specifies the name of the parameter you wanna set. πŸ¦‹ important lore: only the first three characters of the string get examined. so like, don't get cute with it, bestie, she's reading three letters and moving on.
  • RVAL β€” this is an input expression of type REAL, and it's the value you want that internal parameter to have. here's the tea tho: 🌸
    • if the internal parameter is of type INTEGER, it gets the value INT(RVAL).
    • if the internal parameter is of type REAL, it just gets the value RVAL.

periodt. πŸ’…


✨ C-BINDING DESCRIPTION ✨

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


✨ USAGE ✨

this routine is literally here so you can set the current value of Scrolled_title parameters. that's her whole job and she does it flawlessly. πŸ’–

for a complete list of parameters available in this utility, go peek at the scrolled_title_params man page. iykyk.


✨ EXAMPLES ✨

use the ncargex command to see the relevant example: slex01. ✨ go look, it's giving educational.


✨ ACCESS ✨

to use SLSETR or c_slsetr, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, ncarg_c, and ncarg_c β€” preferably in that order. yes, ncarg_c is listed twice, that's not me being messy, that's what the page says, i don't make the rules. πŸ™ˆ


✨ MESSAGES ✨

see the scrolled_title man page for a description of all Scrolled_title error messages and/or informational messages. she's the one who handles all the drama. 😭


✨ SEE ALSO ✨

Online: ftitle, scrolled_title, scrolled_title_params, slgeti, slgetr, slogap, slrset, slseti, stitle, ncarg_cbind.

Hardcopy: NCAR Graphics Fundamentals, UNIX Version; User's Guide for NCAR GKS-0A Graphics.


Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


and that's the whole page, bestie 🫢 go set some parameters, slay responsibly.

this was the UNIX flavor of the manual, dated July 1995, and yes she's still iconic all these years later. mwah. πŸ’‹