ncl_mpifnb (3) - Linux Manuals

ncl_mpifnb: A simple utility function that finds the index of the first non-blank

NAME

MPIFNB - A simple utility function that finds the index of the first non-blank character in a character string.

SYNOPSIS

IFNB=MPIFNB(CHRS)

C-BINDING SYNOPSIS

#include <ncarg/ncargC.h>

int c_mpifnb (char *chrs)

DESCRIPTION

CHRS
is an input expression of type CHARACTER.

C-BINDING DESCRIPTION

The C-binding argument description is the same as the FORTRAN argument description.

USAGE

The statement "IFNB=MPIFNB(CHRS)" sets the value of IFNB to the index (between 1 and LEN(CHRS)) of the first non-blank character in the character string CHRS.

EXAMPLES

None.

ACCESS

To use MPIFNB or c_mpifnb, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.

COPYRIGHT

Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.

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