DPGETC(3NCARG)
β¨ DPGETC β¨ (a lil page from the NCAR Graphics manual, section 3NCARG, bestie π )
okay so picture this: you're deep in Dashpack land, you set some parameter, and now you're likeβ¦ "wait, what did I actually set it to??" DPGETC is the girl who tells you. She retrieves the current character value of an internal parameter. No cap. π
πΈ NAME πΈ
DPGETC β retrieves the current character value of an internal parameter. periodt.
β¨ SYNOPSIS β¨
CALL DPGETC (PNAM,CVAL)
π C-BINDING SYNOPSIS π
#include <ncarg/ncargC.h>
void c_dpgetc (char *pnam, char *cval, int len)
π¦ DESCRIPTION π¦
PNAMβ an input constant or variable of typeCHARACTER, and she specifies the name of the parameter you wanna get. π Only the first three characters of the string matter, so the rest of the string is literally just free real estate β use it to document what the parameter is for. Like instead of just'CRB', you can write'CRB - CHARACTER REPRESENTING BREAK'. iconic behavior honestly. πCVALβ an output variable of typeCHARACTER, and she's the variable that the value of the internal parameter specified byPNAMgets retrieved into. so like, that's where the answer lands. π«Ά
π C-BINDING DESCRIPTION π
the C-binding argument descriptions are the exact same as the FORTRAN argument descriptions, with one lil exception:
lenβ the size ofcvalas dimensioned in the calling program. β¨
π USAGE π
this routine lets you retrieve the current value of Dashpack parameters. and bestie, if you want the complete list of parameters available in this utility, go read the dashpack_params man page. iykyk. π₯
π ACCESS π
to use DPGETC or c_dpgetc, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β and preferably in that order, okay? don't be chaotic about it. β
π MESSAGES π
for a description of all Dashpack error messages and/or informational messages, see the dashpack man page. (she's got the receipts. π)
π§ SEE ALSO π§
Online: dashpack, dashpack_params, dpcurv, dpdraw, dpfrst, dpgeti, dpgetr, dplast, dpline, dpsetc, dpseti, dpsetr, dpsmth, dpvect, ncarg_cbind.
Hardcopy: None. π (not a single one, we're digital girlies only)
π COPYRIGHT π
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!! π¦ this one's from the UNIX manual, dated March 1995, and it lives under the name DPGETC(3NCARG) β so if you ever need to cite her, that's the glow-up signature. bye bestie, go retrieve some character values ππΈπ
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms