1CPGETI(3NCARG) NCAR GRAPHICS CPGETI(3NCARG)
2
3
4
6 CPGETI - Retrieves the integral value of an internal parameter of type
7 INTEGER or REAL.
8
10 CALL CPGETI (PNAM, IVAL)
11
13 #include <ncarg/ncargC.h>
14
15 void c_cpgeti (char *pnam, int *ival)
16
18 PNAM (CHARACTER, input) is the name of a parameter whose integer
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 'LLP', use 'LLP -
23 LINE LABEL POSITIONING'.
24
25 IVAL (INTEGER, 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 "i" of type INTEGER, the
28 value returned is "i". If the internal parameter is a
29 value "r" of type REAL, the value returned is "INT(r)".
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: ccpcff,
42 ccpclc, ccpcld, ccpcldm, ccpcll, ccpklb, ccplbam, ccplbdr, ccpllb,
43 ccpllc, ccplll, ccpllo, ccpllp, ccpllt, ccpllw, ccppc, ccppc1, ccppc2,
44 ccppc3, ccppc4, ccppkcl, ccprc, ccprwc, ccprwu, ccpscam, colcon,
45 cpex01, cpex02, cpex03, cpex06, cpexcc, vvex01, fcover, ffex03, ffex05.
46
48 To use CPGETI or c_cpgeti, load the NCAR Graphics libraries ncarg,
49 ncarg_gks, and ncarg_c, preferably in that order.
50
52 See the conpack man page for a description of all Conpack error
53 messages and/or informational messages.
54
56 Online: conpack, conpack_params, cpback, cpchcf, cpchcl, cpchhl,
57 cpchil, cpchll, cpcica, cpclam, cpcldm, cpcldr, cpcltr, cpcnrc, cpdrpl,
58 cpezct, cpgetc, cpgetr, cplbam, cplbdr, cpmpxy, cpmviw, cpmvrw, cppkcl,
59 cppklb, cprect, cprset, cpscae, cpsetc, cpseti, cpsetr, cpsps1, cpsps2,
60 ncarg_cbind
61
62 Hardcopy: NCAR Graphics Contouring and Mapping Tutorial
63
65 Copyright (C) 1987-2007
66 University Corporation for Atmospheric Research
67
68 This documentation is free software; you can redistribute it and/or
69 modify it under the terms of the GNU General Public License as
70 published by the Free Software Foundation; either version 2 of the
71 License, or (at your option) any later version.
72
73 This software is distributed in the hope that it will be useful, but
74 WITHOUT ANY WARRANTY; without even the implied warranty of
75 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
76 General Public License for more details.
77
78 You should have received a copy of the GNU General Public License along
79 with this software; if not, write to the Free Software Foundation,
80 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
81
82
83
84
85UNIX March 1993 CPGETI(3NCARG)