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-2009
61 University Corporation for Atmospheric Research
62
63 The use of this Software is governed by a License Agreement.
64
65
66
67UNIX March 1993 CPGETC(3NCARG)