DOKK / manpages / debian 12 / libncarg-dev / icloem.3ncarg.en
ICLOEM(3NCARG) NCAR GRAPHICS ICLOEM(3NCARG)

ICLOEM - Called to get the length of the non-blank portion of an error message.

LNGTH = ICLOEM(MESSG)

#include <ncarg/ncargC.h>

int c_icloem(char *messg)

The value of the expression "ICLOEM(MESSG)" is the actual length of the non-blank portion of the input character variable MESSG. Thus, "MESSG(1:ICLOEM(MESSG))" is the non-blank part of MESSG. (It is assumed that the non-blank part of MESSG is left-justified in the character string, with blank fill to the right, as is the case for all NCAR Graphics error messages in calls to SETER.)

The argument of ICLOEM is as follows:

(an input variable or constant of type CHARACTER) - Most likely an error message returned by a reference to the function SEMESS.

The C-binding argument descriptions are the same as the FORTRAN argument descriptions.

Use the ncargex command to see the following relevant examples: tseter, arex02.

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

Online: entsr, eprin, errof, error_handling, fdum, icfell, nerro, retsr, semess, seter, ncarg_cbind

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

March 1994 UNIX