MPIFNB(3NCARG)
π MPIFNB π β the NCAR Graphics bestie that finds your first non-blank character
okay so welcome to the NCAR Graphics corner of the manual, page MPIFNB(3NCARG), and bestie this one is SO simple it's honestly kind of iconic for it. no cap.
β¨ NAME β¨
MPIFNB β a simple utility function that finds the index of the first non-blank character in a character string. that's it. that's the whole job. she does one thing and she does it flawlessly π
β¨ SYNOPSIS β¨
IFNB=MPIFNB(CHRS)
β¨ C-BINDING SYNOPSIS β¨
#include <ncarg/ncargC.h>
int c_mpifnb (char *chrs)
β¨ DESCRIPTION β¨
CHRSβ an input expression of typeCHARACTER. she comes in, she gets scanned, that's her whole arc π¦
πΈ C-BINDING DESCRIPTION πΈ
the C-binding argument description is literally the same as the FORTRAN argument description. same vibe, different language, we love consistency π
β¨ USAGE β¨
so the statement
IFNB=MPIFNB(CHRS)
sets the value of IFNB to the index β and the index is gonna be somewhere between 1 and LEN(CHRS), so like, in-bounds always, we love a safe queen β of the first non-blank character in the character string CHRS.
periodt. that's the tea. π«Ά
β¨ EXAMPLES β¨
None. π
ik, ik, she's giving mysterious. no examples provided, so we just vibe with the description. iykyk.
β¨ ACCESS β¨
to use MPIFNB or c_mpifnb, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β and preferably in that order bestie, don't be chaotic about it. π
β¨ SEE ALSO β¨
Online: ezmap, ezmap_params, mapaci, mapbla, mapblm, mapdrw, mapeod, mapfst, mapgci, mapgrd, mapgrm, mapgtc, mapgti, mapgtl, mapgtr, mapint, mapiq, mapiqa, mapiqd, mapiqm, mapit, mapita, mapitd, mapitm, maplbl, maplmb, maplot, mappos, maproj, maprs, maprst, mapsav, mapset, mapstc, mapsti, mapstl, mapstr, maptra, maptri, maptrn, mapusr, mapvec, mpchln, mpfnme, mpgetc, mpgeti, mpgetl, mpgetr, mpglty, mpiaty, mpilnb, mpiola, mpiosa, mpipai, mpipan, mpipar, mpisci, mplnam, mplndm, mplndr, mplnri, mpname, mprset, mpsetc, mpseti, mpsetl, mpsetr, supmap, supcon, ncarg_cbind
like, go read them too, they're all part of the family π
β¨ COPYRIGHT β¨
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
okay so legal girlies, listen up: the use of this Software is governed by a License Agreement β read it, respect it, don't just click through it. π
and that's the whole page bestie!! π this one came from the UNIX manual, dated April 1998, and it's MPIFNB(3NCARG) from NCAR Graphics. go forth and find your first non-blank character, you absolute main character. πβ¨ππ¦πΈπ
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms