1CPGETC(3NCARG) NCAR GRAPHICS CPGETC(3NCARG)
2
3
4
6 CPGETC - Retrieves the current value of an internal parameter of type
7 CHARACTER.
8
10 CALL CPGETC (PNAM, CVAL)
11
13 #include <ncarg/ncargC.h>
14
15 void c_cpgetc (char *pnam, char *cval, int len)
16
18 PNAM (CHARACTER, input) is the name of a parameter whose
19 character value is to be retrieved. Only the first three
20 characters of PNAM are examined. It is recommended that the
21 rest of the character string be used to improve the
22 readability of the code. For example, instead of just
23 'LLT', use 'LLT - LINE LABEL TEXT'.
24
25 CVAL (CHARACTER, output) is a variable in which the value of the
26 parameter specified by PNAM is to be returned.
27
29 The C-binding argument descriptions are the same as the FORTRAN
30 argument descriptions with the following exception:
31
32 len The size of cval as dimensioned in the calling program.
33
35 This routine allows you to retrieve the current value of Conpack
36 parameters. For a complete list of parameters available in this
37 utility, see the conpack_params man page.
38
40 Use the ncargex command to see the following relevant example: cpex07.
41
43 To use CPGETC or c_cpgetc, load the NCAR Graphics libraries ncarg,
44 ncarg_gks, and ncarg_c, preferably in that order.
45
47 See the conpack man page for a description of all Conpack error
48 messages and/or informational messages.
49
51 Online: conpack, conpack_params, cpback, cpchcf, cpchcl, cpchhl,
52 cpchil, cpchll, cpcica, cpclam, cpcldm, cpcldr, cpcltr, cpcnrc, cpdrpl,
53 cpezct, cpgeti, cpgetr, cplbam, cplbdr, cpmpxy, cpmviw, cpmvrw, cppkcl,
54 cppklb, cprect, cprset, cpscae, cpsetc, cpseti, cpsetr, cpsps1, cpsps2,
55 ncarg_cbind
56
57 Hardcopy: NCAR Graphics Contouring and Mapping Tutorial
58
60 Copyright (C) 1987-2007
61 University Corporation for Atmospheric Research
62
63 This documentation is free software; you can redistribute it and/or
64 modify it under the terms of the GNU General Public License as
65 published by the Free Software Foundation; either version 2 of the
66 License, or (at your option) any later version.
67
68 This software is distributed in the hope that it will be useful, but
69 WITHOUT ANY WARRANTY; without even the implied warranty of
70 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
71 General Public License for more details.
72
73 You should have received a copy of the GNU General Public License along
74 with this software; if not, write to the Free Software Foundation,
75 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
76
77
78
79
80UNIX March 1993 CPGETC(3NCARG)