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

SYNOPSIS

LNGTH = ICLOEM(MESSG)

C-BINDING SYNOPSIS

#include <ncarg/ncargC.h>

int c_icloem(char *messg)

DESCRIPTION

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:

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

C-BINDING DESCRIPTION

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

EXAMPLES

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

ACCESS

To use ICLOEM or c_icloem, 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.