TDSETI(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

πŸ’– 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 type CHARACTER. 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 type INTEGER. it's the integer value you're choosing for that parameter. now here's the tea: if the parameter is of type INTEGER, it gets given the value IVAL. if it's of type REAL, it gets given the value REAL(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 (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