TDSETI(3NCARG)
π TDSETI β bestie, we're setting an integer parameter π
okay so this is a NCAR Graphics man page, manual section 3NCARG, and it's all about TDSETI, which is the Fortran routine you call when you wanna hand Tdpack a fresh integer value for one of its parameters. no cap, that's the whole gig. π
β¨ NAME β¨
TDSETI β Provides a new integer value for a Tdpack parameter.
like. it sets an integer. for Tdpack. that's it, that's the function, and honestly? iconic. π
πΈ SYNOPSIS πΈ
CALL TDSETI (PNAM,IVAL)
short, sweet, two arguments, no drama. slay. π
π¦ C-BINDING SYNOPSIS π¦
for my C girlies (gender neutral), you gotta pull in the header first:
#include <ncarg/ncargC.h>
void c_tdseti (char *pnam, int ival)
yes bestie, the C version is lowercase and takes a char * and an int. we love consistency. π«Ά
π DESCRIPTION π
so the arguments of TDSETI are literally these two, and here's what each one is doing:
PNAMβ an input constant or variable of typeCHARACTER. it's the name of the parameter you wanna set. the character string can be any length you want, BUT β and this is the important part, don't @ me β only the first three characters of it get examined. three. that's it. so like, keep it tight. πIVALβ an input expression of typeINTEGER. it's the integer value you're choosing for that parameter. now here's the tea: if the parameter is of typeINTEGER, it gets given the valueIVAL. if it's of typeREAL, it gets given the valueREAL(IVAL). so it converts for you. thoughtful. π§
π C-BINDING DESCRIPTION π
the C-binding argument descriptions are the same as the FORTRAN argument descriptions. same vibes, different language, we move. β¨
π₯ USAGE π₯
this routine lets you set the current value of Tdpack parameters. that's the move.
and if you want the complete list of parameters available in this utility, go read the "tdpack_params" man page. it's all in there, i promise, go look. π
π ACCESS π
to use TDSETI or c_tdseti, you need to load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β and preferably in that order. order matters bestie, don't freestyle it. π
π MESSAGES π
for a description of all the Tdpack error messages and/or informational messages, see the "tdpack" man page. if something's yelling at you, that's where the answers live. π
π SEE ALSO π
online, aka the whole friend group:
tdclrs, tdctri, tddtri, tdgeti, tdgetr, tdgrds, tdgrid, tdgtrs, tdinit, tditri, tdlbla, tdlbls, tdline, tdlnpa, tdmtri, tdotri, tdpack, tdpack_params, tdpara, tdplch, tdprpa, tdprpi, tdprpt, tdsetr, tdsort, tdstri, tdstrs
look at that list. a whole squad. go say hi. π¦
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
the use of this Software is governed by a License Agreement. read it, bestie, it's giving legally binding. βοΈ
and that's the page!! this one came from UNIX, dated July 1997, and it lives under the name TDSETI(3NCARG). go set some integers. periodt. πβ¨π
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms