Retrieves the real value of an areas parameter.
CALL ARGETR (PNAM,RVAL)
#include <ncarg/ncargC.h>
void c_argetr (char *pnam, float *rval)
(an input constant or variable of type CHARACTER) - The name of the parameter that you want to retrieve. The character string can be of any length, but only the first two characters of it will be examined.
(an output variable of type REAL) - A real variable to receive the desired parameter value. If the internal parameter is of type REAL and has the value "r", RVAL will be given the value "r"; if the internal parameter is of type INTEGER and has the value "i", RVAL will be given the value "REAL(i)".
The C-binding argument descriptions are the same as the FORTRAN argument descriptions.
This routine allows you to retrieve the current value of Areas parameters. For a complete list of parameters available in this utility, see the areas_params man page.
To use ARGETR or c_argetr, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
See the areas man page for a description of all Areas error messages and/or informational messages.
Online: areas, areas_params, ardbpa, ardrln, aredam, argeti, argtai, arinam, armvam, arpram, arscam, arseti, arsetr, ncarg_cbind
Hardcopy: NCAR Graphics Contouring and Mapping Tutorial
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.