37 IF(str.EQ.
' ')
GOTO 900
41 IF(str(1:1).EQ.
'+')
THEN
44 ELSEIF(str(1:1).EQ.
'-')
THEN
54 CALL errwrt(
'+++++++++++++++++++++WARNING+++++++++++++++++++++++')
55 errstr =
'BUFRLIB: JSTNUM: ENCODED VALUE WITHIN RESULTANT '//
56 .
'CHARACTER STRING (' // str //
') IS NOT AN INTEGER - '//
57 .
'RETURN WITH IRET = -1'
59 CALL errwrt(
'+++++++++++++++++++++WARNING+++++++++++++++++++++++')
69 900
CALL bort(
'BUFRLIB: JSTNUM - INPUT BLANK CHARACTER STRING NOT '//
subroutine bort(STR)
Log one error message and abort application program.
subroutine errwrt(STR)
This subroutine allows the user to specify a custom location for the logging of error and diagnostic ...
subroutine jstnum(STR, SIGN, IRET)
This subroutine left-justifies a character string containing an encoded integer, by removing all lead...
recursive subroutine strnum(str, num, iret)
Decode an integer from a character string.