ARSETR(3NCARG)

✨ ARSETR β€” it's giving "set a real value, bestie" ✨

NCAR GRAPHICS Β· manual section 3NCARG πŸŽ€


πŸ’– NAME πŸ’–

ARSETR β€” provides a new real value for an Areas parameter. no cap, that's literally the whole job 🫢


🌸 SYNOPSIS 🌸

CALL ARSETR (PNAM,RVAL)

πŸ¦‹ C-BINDING SYNOPSIS πŸ¦‹

#include <ncarg/ncargC.h>

void c_arsetr (char *pnam, float rval)

✨ DESCRIPTION ✨

  • PNAM β€” (an input constant or variable of type CHARACTER) the name of the parameter you wanna set. bestie, the string can be any length you want, but only the first two characters of it get examined. that's it. two. characters. πŸ’…
  • RVAL β€” (an input expression of type REAL) the real value you're picking for the parameter. here's the tea: if the parameter is of type REAL, it gets RVAL; if it's of type INTEGER, it gets INT(RVAL). so the routine lowkey does the conversion for you, iconic behavior πŸŽ€

🌈 C-BINDING DESCRIPTION 🌈

the C-binding argument descriptions are the same as the FORTRAN argument descriptions. fr fr, no notes, they're identical πŸ’œ


πŸ”₯ USAGE πŸ”₯

this routine lets you set the current value of Areas parameters. for a complete list of parameters available in this utility, go check out the areas_params man page. it's giving reference material, and honestly? we stan πŸ“š


πŸ“ EXAMPLES πŸ“

use the ncargex command to see the following relevant examples: cardb1, arex01. go look, they ate πŸ’…βœ¨


πŸ‘‘ ACCESS πŸ‘‘

to use ARSETR or c_arsetr, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order. order matters, bestie, don't play with it πŸ™ˆ


πŸ’€ MESSAGES πŸ’€

see the areas man page for a description of all Areas error messages and/or informational messages. if something goes sideways, that's where the receipts are πŸ”


🧚 SEE ALSO 🧚

Online: areas, areas_params, ardbpa, ardrln, aredam, argeti, argetr, argtai, arinam, armvam, arpram, arscam, arseti, ncarg_cbind

Hardcopy: NCAR Graphics Contouring and Mapping Tutorial


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

⚠️ heads up: the use of this Software is governed by a License Agreement. read it, bestie, it's the rules 🫢

okay that's the whole page, mwah πŸ’‹ this one shipped on UNIX, dated March 1993, and it lives at ARSETR(3NCARG) in the NCAR Graphics source. go set those real values, main character πŸ’…βœ¨