1TDGETI(3NCARG) NCAR GRAPHICS TDGETI(3NCARG)
2
3
4
6 TDGETI - Retrieves the integer value of a Tdpack parameter.
7
9 CALL TDGETI (PNAM,IVAL)
10
12 #include <ncarg/ncargC.h>
13
14 void c_tdgeti (char *pnam, int *ival)
15
17 The arguments of TDGETI are as follows:
18
19 PNAM (an input constant or variable of type CHARACTER) - The name of
20 the parameter that you want to retrieve. The character string
21 can be of any length, but only the first three characters of it
22 will be examined.
23
24 IVAL (an output variable of type INTEGER) - An integer variable to
25 receive the desired parameter value. If the internal parameter
26 is of type INTEGER and has the value "i", IVAL will be given
27 the value "i"; if the internal parameter is of type REAL and
28 has the value "r", IVAL will be given the value "INT(r)".
29
31 The C-binding argument descriptions are the same as the FORTRAN
32 argument descriptions.
33
35 This routine allows you to retrieve the current value of Tdpack
36 parameters. For a complete list of parameters available in this
37 utility, see the "tdpack_params" man page.
38
40 To use TDGETI or c_tdgeti, load the NCAR Graphics libraries ncarg,
41 ncarg_gks, and ncarg_c, preferably in that order.
42
44 See the "tdpack" man page for a description of all Tdpack error
45 messages and/or informational messages.
46
48 Online: tdclrs, tdctri, tddtri, tdgetr, tdgrds, tdgrid, tdgtrs, tdinit,
49 tditri, tdlbla, tdlbls, tdline, tdlnpa, tdmtri, tdotri, tdpack,
50 tdpack_params, tdpara, tdplch, tdprpa, tdprpi, tdprpt, tdseti, tdsetr,
51 tdsort, tdstri, tdstrs
52
54 Copyright (C) 1987-2007
55 University Corporation for Atmospheric Research
56
57 This documentation is free software; you can redistribute it and/or
58 modify it under the terms of the GNU General Public License as
59 published by the Free Software Foundation; either version 2 of the
60 License, or (at your option) any later version.
61
62 This software is distributed in the hope that it will be useful, but
63 WITHOUT ANY WARRANTY; without even the implied warranty of
64 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
65 General Public License for more details.
66
67 You should have received a copy of the GNU General Public License along
68 with this software; if not, write to the Free Software Foundation,
69 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
70
71
72
73UNIX July 1997 TDGETI(3NCARG)