logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PCPNWI - A function of type CHARACTER*16.

Access

       To use PCPNWI or c_pcpnwi, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably  in
       that order.

C-Binding Description

       The C-binding argument descriptions are the same as the FORTRAN argument descriptions.

C-Binding Synopsis

       #include <ncarg/ncargC.h>

       void c_pcpnwi (char *pnam, int *ipai)

Description

       PNAM        (an  input  constant  or  variable  of  type  CHARACTER) is a character string, the first two
                   characters of which are the name of an internal parameter array of Plotchar (currently,  ´BC´
                   or ´CC´).

       IPAI        (an  input  expression of type INTEGER) is an integer expression specifying the index of that
                   element of the internal parameter array of which one wants the name.

       Given the above two arguments, the value of PCPNWI(PNAM,IPAI) is that character string  which  serves  as
       the name of element IPAI of the internal parameter array identified by PNAM.

       For  example,  if  IPAI  has  the  value 3, then the value of "PCPNWI('CC',IPAI)" is the character string
       'CC(3)' (padded with blanks to the right) and the call "CALL PCSETI  (PCPNWI('CC',IPAI),62)"  would  give
       the value 62 to the third element of the parameter array 'CC'.

Messages

       See the plotchar page for a description of all Plotchar error messages and/or informational messages.

Name

       PCPNWI - A function of type CHARACTER*16.

See Also

       Online:  plotchar,  plotchar_params,  pcdlsc,  pcgetc,  pcgeti,  pcgetr,  pchiqu, pcloqu, pcmequ, pcmpxy,
       pcrset, pcsetc, pcseti, pcsetr, ncarg_cbind.

       Hardcopy: NCAR Graphics Fundamentals, UNIX Version

Synopsis

       CHARACTER*16 PCPNWI,ENAM
       ENAM = PCPNWI (PNAM,IPAI)

Usage

       This  routine  generates  parameter  names  for  use  in calls to other routines.  For a complete list of
       parameters available in this utility, see the plotchar_params man page.

See Also