CPGETC(3NCARG)

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

πŸ’– CPGETC β€” it's giving "get me that character parameter" πŸ’–

okay bestie, welcome to CPGETC, a lil routine from NCAR GRAPHICS (that's the 3NCARG manual, if you're keeping track πŸ‘‘). She's a retrieval girlie: you hand her a parameter name, she hands you back the CHARACTER value currently chillin' in that parameter. no cap.


✨ NAME ✨

CPGETC β€” retrieves the current value of an internal parameter of type CHARACTER. that's it, that's the whole job, and she does it flawlessly πŸ’…


✨ SYNOPSIS ✨

CALL CPGETC (PNAM, CVAL)

✨ C-BINDING SYNOPSIS ✨

#include <ncarg/ncargC.h>

void c_cpgetc (char *pnam, char *cval, int len)

✨ DESCRIPTION ✨

  • PNAM β€” (CHARACTER, input) the name of the parameter whose character value you wanna retrieve, bestie. only the first three characters of PNAM get examined β€” the rest is just vibes and readability. so like, instead of typing just 'LLT', go off and use 'LLT - LINE LABEL TEXT' so future you (and your group chat) knows what's happening. 🫢
  • CVAL β€” (CHARACTER, output) the variable where the value of the parameter named by PNAM gets returned. she drops it right in there. ✨

✨ C-BINDING DESCRIPTION ✨

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

  • len β€” the size of cval as dimensioned in the calling program. πŸ“

✨ USAGE ✨

this routine lets you retrieve the current value of Conpack parameters. for a complete list of the parameters available in this utility, go check the conpack_params man page β€” she's got the whole menu. πŸ“


✨ EXAMPLES ✨

use the ncargex command to see the following relevant example: cpex07. go look, it eats. πŸ”₯


✨ ACCESS ✨

to use CPGETC or c_cpgetc, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order. don't be chaotic about the order, babe. 🌈


✨ MESSAGES ✨

see the conpack man page for a description of all Conpack error messages and/or informational messages. if something's up, she'll tell you. πŸ’€


✨ SEE ALSO ✨

Online: conpack, conpack_params, cpback, cpchcf, cpchcl, cpchhl, cpchil, cpchll, cpcica, cpclam, cpcldm, cpcldr, cpcltr, cpcnrc, cpdrpl, cpezct, cpgeti, cpgetr, cplbam, cplbdr, cpmpxy, cpmviw, cpmvrw, cppkcl, cppklb, cprect, cprset, cpscae, cpsetc, cpseti, cpsetr, cpsps1, cpsps2, ncarg_cbind

Hardcopy: NCAR Graphics Contouring and Mapping Tutorial

like, that's a whole friend group. the cp* girlies stay together, iykyk. πŸ‘‘


Copyright (C) 1987-2009 University Corporation for Atmospheric Research

The use of this Software is governed by a License Agreement.

bestie pls read the License Agreement, it's giving "legally binding" and we respect that πŸ’œ

okay that's the whole page, no notes. this manual page came from the UNIX crew back in March 1993 and it's still serving CPGETC(3NCARG) energy to this day. periodt. πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from