1PCPNWI(3NCARG) NCAR GRAPHICS PCPNWI(3NCARG)
2
3
4
6 PCPNWI - A function of type CHARACTER*16.
7
9 CHARACTER*16 PCPNWI,ENAM
10 ENAM = PCPNWI (PNAM,IPAI)
11
13 #include <ncarg/ncargC.h>
14
15 void c_pcpnwi (char *pnam, int *ipai)
16
18 PNAM (an input constant or variable of type CHARACTER) is a
19 character string, the first two characters of which are the
20 name of an internal parameter array of Plotchar (currently,
21 ´BC´ or ´CC´).
22
23 IPAI (an input expression of type INTEGER) is an integer
24 expression specifying the index of that element of the
25 internal parameter array of which one wants the name.
26
27 Given the above two arguments, the value of PCPNWI(PNAM,IPAI) is that
28 character string which serves as the name of element IPAI of the
29 internal parameter array identified by PNAM.
30
31 For example, if IPAI has the value 3, then the value of
32 "PCPNWI('CC',IPAI)" is the character string 'CC(3)' (padded with blanks
33 to the right) and the call "CALL PCSETI (PCPNWI('CC',IPAI),62)" would
34 give the value 62 to the third element of the parameter array 'CC'.
35
37 The C-binding argument descriptions are the same as the FORTRAN
38 argument descriptions.
39
41 This routine generates parameter names for use in calls to other
42 routines. For a complete list of parameters available in this utility,
43 see the plotchar_params man page.
44
46 To use PCPNWI or c_pcpnwi, load the NCAR Graphics libraries ncarg,
47 ncarg_gks, and ncarg_c, preferably in that order.
48
50 See the plotchar page for a description of all Plotchar error messages
51 and/or informational messages.
52
54 Online: plotchar, plotchar_params, pcdlsc, pcgetc, pcgeti, pcgetr,
55 pchiqu, pcloqu, pcmequ, pcmpxy, pcrset, pcsetc, pcseti, pcsetr,
56 ncarg_cbind.
57
58 Hardcopy: NCAR Graphics Fundamentals, UNIX Version
59
61 Copyright (C) 1987-2007
62 University Corporation for Atmospheric Research
63
64 This documentation is free software; you can redistribute it and/or
65 modify it under the terms of the GNU General Public License as
66 published by the Free Software Foundation; either version 2 of the
67 License, or (at your option) any later version.
68
69 This software is distributed in the hope that it will be useful, but
70 WITHOUT ANY WARRANTY; without even the implied warranty of
71 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
72 General Public License for more details.
73
74 You should have received a copy of the GNU General Public License along
75 with this software; if not, write to the Free Software Foundation,
76 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
77
78
79
80UNIX March 1993 PCPNWI(3NCARG)