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-2007
63 University Corporation for Atmospheric Research
64
65 This documentation is free software; you can redistribute it and/or
66 modify it under the terms of the GNU General Public License as
67 published by the Free Software Foundation; either version 2 of the
68 License, or (at your option) any later version.
69
70 This software is distributed in the hope that it will be useful, but
71 WITHOUT ANY WARRANTY; without even the implied warranty of
72 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
73 General Public License for more details.
74
75 You should have received a copy of the GNU General Public License along
76 with this software; if not, write to the Free Software Foundation,
77 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
78
79
80
81
82UNIX March 1993 CPGETR(3NCARG)