DPGETR(3NCARG)
π DPGETR β it's giving "grab that real number, bestie" β¨
okay so this one is from NCAR GRAPHICS and it lives in section 3 of the manual, and honestly? she's a little legend. let's get into it π«Ά
πΈ NAME πΈ
DPGETR β she retrieves the real value of an internal parameter of type REAL or INTEGER. that's it, that's the whole job, and she does it flawlessly π
β¨ SYNOPSIS β¨
CALL DPGETR (PNAM,RVAL)
π C-BINDING SYNOPSIS π
#include <ncarg/ncargC.h>
void c_dpgetr (char *pnam, float *rval)
π¦ DESCRIPTION π¦
PNAMβ an input expression of type CHARACTER, and she specifies the name of the parameter you're getting. the way this works: the name has to appear as the first three characters of the string. anything after that? purely for documentation vibes, no cap. like, instead of just writingΒ΄LS1Β΄, you can go all out and writeΒ΄LS1 - LABEL SPACING PARAMETER 1Β΄and it still works. iconic behaviour fr fr πRVALβ an output variable of type REAL, and she's the name of the variable where the value of the internal parameter specified byPNAMgets dropped off. here's the tea: if the internal parameter is a value"r"of type REAL, then the value returned is"r". but if the internal parameter is a value"i"of type INTEGER, then the value returned is"REAL(i)". so either way you're getting a REAL back, bestie, no surprises π
π C-BINDING DESCRIPTION π
the C-binding argument descriptions are the same as the FORTRAN argument descriptions. same energy, different syntax, we love a consistent queen β¨
π USAGE π
this routine lets you retrieve the current value of Dashpack parameters. and if you wanna see the complete list of parameters available in this utility, go check out the dashpack_params man page β she has the full menu π
π ACCESS π
to use DPGETR or c_dpgetr, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. don't be chaotic about the order, the order matters, trust π
π₯ MESSAGES π₯
for a description of all Dashpack error messages and/or informational messages, see the dashpack man page. she's got the whole gossip column π
π SEE ALSO π
Online: dashpack, dashpack_params, dpcurv, dpdraw, dpfrst, dpgetc, dpgeti, dplast, dpline, dpsetc, dpseti, dpsetr, dpsmth, dpvect, ncarg_cbind.
Hardcopy: NCAR Graphics Fundamentals, UNIX Version
the whole friend group, all linked up, we stan a connected squad π«Ά
π§ COPYRIGHT π§
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
bestie, this is the legal bit β respect the License Agreement, it's not a suggestion π
and that's the whole page!! this lil beauty came from the UNIX manual, dated March 1995, filed under DPGETR(3NCARG). slay, ate, left no crumbs, periodt πβ¨ππ¦πΈπ
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms