SFSETI(3NCARG)
π SFSETI π β it's giving "set that integer parameter, bestie"
okay so real talk, this is a page from the NCAR GRAPHICS manual, and it's about SFSETI, a lil FORTRAN routine that sets the current integer value of a parameter you pick. no cap, it's that simple. let's go β¨
πΈ NAME πΈ
SFSETI β bestie, this is the one you call to set the current integer value of whatever internal parameter you point at. that's the whole job. iconic behavior honestly π
π SYNOPSIS π
CALL SFSETI (CNP, IVP)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_sfseti (char *cnp, int ivp)
β¨ DESCRIPTION β¨
CNPβ an input expression of typeCHARACTER. it's gotta be one of these strings:'AN','CH','DO','SP', or'TY'. or, lowkey, it can be a longer string that begins with one of those. and what do they mean?? so glad you asked π«Ά'AN'β "ANgle"'CH'β "CHaracter"'DO'β "DOts"'SP'β "SPacing"'TY'β "TYpe"
IVPβ an input expression of typeINTEGER, and it's the shiny new value you want for the parameter thatCNPnamed. this value sticks around and gets used until the next call comes along and resets it. important detail alert π¨ if the internal parameter is inherently of typeREAL, then the value"REAL(IVP)"is what actually gets handed to it. so like, it gets converted. noted. π
π C-BINDING DESCRIPTION π
the C-binding argument descriptions are literally the same as the FORTRAN argument descriptions. same vibes, different syntax. periodt π
π₯ USAGE π₯
this routine lets you set the current value of Softfill parameters. that's the whole point, bestie.
if you want the complete list of parameters available in this utility, go read the softfill_params man page. it's all there. iykyk β¨
π EXAMPLES π
run the ncargex command and you'll see these relevant examples:
agex12cpex01cpex02cpex03cpex04cpex05elblbasfex01sfex02vvex01tlblbatsoftffsfsgfa
go look at them, they ate π
π ACCESS π
to use SFSETI or c_sfseti, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β and preferably in that exact order, okay?? don't be chaotic about it π
π MESSAGES π
for a description of all the Softfill error messages and/or informational messages, check out the softfill man page. everything lives there.
π§ SEE ALSO π§
Online: softfill, softfill_params, sfgetc, sfgeti, sfgetp, sfgetr, sfsetc, sfseti, sfsetp, sfsetr, sfsgfa, sfwrld, ncarg_cbind
Hardcopy: NCAR Graphics Fundamentals, UNIX Version
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
fr fr, that license agreement is not a vibe to skip. read it bestie π«Ά
and that's the whole page!! mwah π this little legend dropped on UNIX back in March 1993, and it's still out here living its best life as SFSETI(3NCARG). slay forever, 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