VVGETC(3NCARG)

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

✨ VVGETC ✨ (aka VVGETC(3NCARG) from the NCAR GRAPHICS manual, bestie)

okay so real talk, this is a lil routine that pulls a character value out of a Vectors parameter. she's small. she's mighty. she's giving librarian energy but for strings. let's GO πŸ’–


🌸 NAME 🌸

VVGETC β€” gets the current value of a Vectors parameter of type CHARACTER. that's it. that's the whole job. iconic behavior honestly πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

CALL VVGETC (CNM,CVL)

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

#include <ncarg/ncargC.h>

void c_vvgetc(char *cnm, char *cvl, int len)

πŸ’œ DESCRIPTION πŸ’œ

  • CNM β€” (CHARACTER, input) the name of the parameter whose character value you wanna retrieve. heads up: only the first three characters of CNM are examined, so like, don't go wild in the first three slots. those three characters can be entirely upper case or entirely lower case β€” mixed case is NOT recognized 😭 so MxT will simply not slay. it is recommended that you use the rest of the character string to make your code more readable, because future-you deserves nice things. for example, instead of just Β΄MXTΒ΄, use Β΄MXT - Maximum Vector Text StringΒ΄. yes bestie, write a whole sentence in there. it's fine. it's encouraged. 🫢
  • CVL β€” (CHARACTER, output) the variable where the value of the parameter specified by CNM gets returned. this is where the good stuff lands. πŸ’–

🌈 C-BINDING DESCRIPTION 🌈

the C-binding argument descriptions are the same as the FORTRAN argument descriptions, with exactly one exception:

  • len β€” the size of cvl as dimensioned in the calling program. that's it, that's the whole diff. she's just here to keep your buffer safe. a queen. πŸ‘‘

⭐ USAGE ⭐

this routine lets you retrieve the current value of Vectors parameters of type CHARACTER. if you want the complete list of parameters available in this utility, go read the vectors_params man page. iykyk. πŸ“š


πŸ”₯ ACCESS πŸ”₯

to use VVGETC or c_vvgetc, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” and do it preferably in that order, okay? order matters here, no cap. ✨


πŸ’€ MESSAGES πŸ’€

see the vectors man page for a description of all Vectors error messages and/or informational messages. everything that can yell at you lives over there. πŸ™ˆ


🌸 SEE ALSO 🌸

Online: vectors, vectors_params, vvectr, vvgeti, vvgetr, vvinit, vvrset, vvsetc, vvseti, vvsetr, vvudmv, vvumxy, ncarg_cbind.

Hardcopy: NCAR Graphics Fundamentals, UNIX Version πŸŽ€


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

ok that's the whole page bestie, go get those character values, stay case-consistent, and remember: three characters only, no mixed case, periodt. πŸ’…

mwah! this was the UNIX manual page for VVGETC(3NCARG) from the NCAR GRAPHICS collection, dated April 1993, and it's yours forever now πŸ¦‹βœ¨

πŸ“¦ where this page comes from