1CPGETR(3NCARG) NCAR GRAPHICS CPGETR(3NCARG)
2
3
4
6 CPGETR - Retrieves the real value of an internal parameter of type REAL
7 or INTEGER.
8
10 CALL CPGETR (PNAM, RVAL)
11
13 #include <ncarg/ncargC.h>
14
15 void c_cpgetr (char *pnam, float *rval)
16
18 PNAM (CHARACTER, input) is the name of a parameter whose real
19 value is to be retrieved. Only the first three characters
20 of PNAM are examined. It is recommended that the rest of
21 the character string be used to improve the readability of
22 the code. For example, instead of just 'SFS', use 'SFS -
23 SCALE FACTOR SELECTOR'.
24
25 RVAL (REAL, output) is a variable in which the value of the
26 parameter specified by PNAM is to be returned. If the
27 internal parameter is a value "r" of type REAL, the value
28 returned is "r". If the internal parameter is a value "i"
29 of type INTEGER, the value returned is "REAL(i)".
30
32 The C-binding argument descriptions are the same as the FORTRAN
33 argument descriptions.
34
36 This routine allows you to retrieve the current value of Conpack
37 parameters. For a complete list of parameters available in this
38 utility, see the conpack_params man page.
39
41 Use the ncargex command to see the following relevant examples: ccpclc,
42 ccpklb, ccpllt, colcon, cpex01, cpex06, cpex07, cbex01.
43
45 To use CPGETR or c_cpgetr, load the NCAR Graphics libraries ncarg,
46 ncarg_gks, and ncarg_c, preferably in that order.
47
49 See the conpack man page for a description of all Conpack error
50 messages and/or informational messages.
51
53 Online: conpack, conpack_params, cpback, cpchcf, cpchcl, cpchhl,
54 cpchil, cpchll, cpcica, cpclam, cpcldm, cpcldr, cpcltr, cpcnrc, cpdrpl,
55 cpezct, cpgetc, cpgeti, cplbam, cplbdr, cpmpxy, cpmviw, cpmvrw, cppkcl,
56 cppklb, cprect, cprset, cpscae, cpsetc, cpseti, cpsetr, cpsps1, cpsps2,
57 ncarg_cbind
58
59 Hardcopy: NCAR Graphics Contouring and Mapping Tutorial
60
62 Copyright (C) 1987-2009
63 University Corporation for Atmospheric Research
64
65 The use of this Software is governed by a License Agreement.
66
67
68
69UNIX March 1993 CPGETR(3NCARG)