|
NCEPLIBS-bufr
12.0.1
|
Left-justify a character string containing an encoded integer. More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | jstnum (STR, SIGN, IRET) |
| This subroutine left-justifies a character string containing an encoded integer, by removing all leading blanks and any leading sign ('+' or '-') character. More... | |
Left-justify a character string containing an encoded integer.
Definition in file jstnum.f.
| subroutine jstnum | ( | character*(*) | STR, |
| character*1 | SIGN, | ||
| IRET | |||
| ) |
This subroutine left-justifies a character string containing an encoded integer, by removing all leading blanks and any leading sign ('+' or '-') character.
The string is modified in place, and the sign is returned as a separate parameter. If the input string contains only blank characters, then a call is made to subroutine bort().
| [in,out] | STR | – character*(*): String |
| [out] | SIGN | – character*1: Sign of encoded integer value
|
| [out] | IRET | – integer: return code
|
Definition at line 23 of file jstnum.f.
References bort(), errwrt(), and strnum().
Referenced by elemdx().