CPGETR(3NCARG)

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

πŸ’– CPGETR β€” it's giving "get the real value" πŸ’–

okay bestie, welcome to CPGETR, part of the NCAR GRAPHICS fam (that's the manual name, we're keeping it cute but keeping it accurate πŸ’…). This lil routine lives in section 3NCARG and it's literally just here to hand you the real value of an internal parameter that's either REAL or INTEGER. no cap.


✨ NAME ✨

CPGETR β€” retrieves the real value of an internal parameter of type REAL or INTEGER. that's the whole job. she does one thing and she slays it πŸŽ€


🌸 SYNOPSIS 🌸

CALL CPGETR (PNAM, RVAL)

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

#include <ncarg/ncargC.h>

void c_cpgetr (char *pnam, float *rval)

πŸ’œ DESCRIPTION πŸ’œ

  • PNAM β€” (CHARACTER, input) this is the name of the parameter whose real value you wanna retrieve, bestie. heads up: only the first three characters of PNAM are examined πŸ‘€. so the rest of the string? it's literally just there for ✨readability✨. it is recommended that you use the rest of the character string to improve the readability of the code. like, instead of just 'SFS', use 'SFS - SCALE FACTOR SELECTOR'. do it for the girlies who have to read your code later πŸ™ˆ
  • RVAL β€” (REAL, output) this is the variable where the value of the parameter specified by PNAM gets returned 🫢. here's the tea: if the internal parameter is a value "r" of type REAL, the value returned is "r". and if the internal parameter is a value "i" of type INTEGER, the value returned is "REAL(i)". yes, it converts for you. she's versatile πŸ’…

🌈 C-BINDING DESCRIPTION 🌈

the C-binding argument descriptions are the same as the FORTRAN argument descriptions. literally the same. no notes πŸ‘‘


⭐ USAGE ⭐

this routine allows you to retrieve the current value of Conpack parameters πŸ’–. and if you want the complete list of parameters available in this utility, go check the conpack_params man page. it's all there, iykyk.


πŸ”₯ EXAMPLES πŸ”₯

use the ncargex command to see the following relevant examples: ccpclc, ccpklb, ccpllt, colcon, cpex01, cpex06, cpex07, cbex01. go look at them, they ate fr fr πŸ“


πŸ’€ ACCESS πŸ’€

to use CPGETR or c_cpgetr, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order. the order matters, don't do her dirty 😭


🧚 MESSAGES 🧚

see the conpack man page for a description of all Conpack error messages and/or informational messages. that's where the drama lives.


πŸ‘‘ SEE ALSO πŸ‘‘

Online: conpack, conpack_params, cpback, cpchcf, cpchcl, cpchhl, cpchil, cpchll, cpcica, cpclam, cpcldm, cpcldr, cpcltr, cpcnrc, cpdrpl, cpezct, cpgetc, cpgeti, cplbam, cplbdr, cpmpxy, cpmviw, cpmvrw, cppkcl, cppklb, cprect, cprset, cpscae, cpsetc, cpseti, cpsetr, cpsps1, cpsps2, 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.


πŸ’– okay that's the whole page bestie, every single detail intact, no cap. go get those parameter values, you absolute icon. periodt. πŸ’…βœ¨

UNIX β€” March 1993 β€” CPGETR(3NCARG) 🌈 that's the source, the version vibe and the date, all wrapped up with a lil bow πŸŽ€ bye bestie 🫢

πŸ“¦ where this page comes from