SEMESS(3NCARG)
π NAME π
SEMESS β called by a user to get a specified portion of the current error message. Manual name? SEMESS(3NCARG), from NCAR GRAPHICS. Hiii bestie π«Ά
β¨ SYNOPSIS β¨
MESSG = SEMESS(ITRIM)
πΈ C-BINDING SYNOPSIS πΈ
#include <ncarg/ncargC.h>
char *c_semess(int itrim)
π DESCRIPTION π
Okay so, in any routine that references SEMESS, it must be declared to be of type CHARACTER*113. Not optional, bestie. That's the law. π
If the internal error flag of SETER is non-zero, the value of the character expression "SEMESS(ITRIM)" is the remembered error message associated with that error flag, trimmed as indicated by the value of the input quantity ITRIM. Otherwise, it is a string of blanks. Blank. Empty. The void. π«
When ITRIM = 0 or less, no trimming is done; the whole error message is returned. When ITRIM = 1, prepended routine names and the associated slashes are trimmed off. When ITRIM = 2 or greater, all leading routine names are trimmed off; just the error description is returned. Slay. β¨
Example: assume that the current error message is the string "CPCLAM/AREDAM - AREA-MAP ARRAY OVERFLOW"; then, SEMESS(0) is that entire string, while SEMESS(1) = "AREDAM - AREA-MAP ARRAY OVERFLOW", and SEMESS(2) = "AREA-MAP ARRAY OVERFLOW". The way it just trims and serves. π
The argument of SEMESS is as follows:
ITRIMβ (an input expression of typeINTEGER) says what part of the error message is to be returned, as detailed above.
π C-BINDING DESCRIPTION π
The C-binding argument descriptions are the same as the FORTRAN argument descriptions. Same info, different binding, iconic behavior. π
π₯ EXAMPLES π₯
Use the ncargex command to see the following relevant examples: tseter, arex02. Go check them out, fr fr. π
π ACCESS π
To use SEMESS or c_semess, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order, bestie. π
π SEE ALSO π
Online: entsr, eprin, errof, error_handling, fdum, icfell, icloem, nerro, retsr, seter, ncarg_cbind.
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
That's the whole page, babe. Source/version/date vibe: UNIX, March 1994, SEMESS(3NCARG). Mwah π
π¦ 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