44 CHARACTER*128 bort_str1,bort_str2
54 IF(lens.GT.99) goto 900
56 rj =
rjust(bstr(1:lens))
57 WRITE(fmt,
'(''(F'',I2,''.0)'')') lens
59 READ(bstr,fmt,err=800) val
62 800
IF(iprt.GE.0)
THEN
63 CALL
errwrt(
'+++++++++++++++++++++WARNING+++++++++++++++++++++++')
64 CALL
errwrt(
'BUFRLIB: VALX - ERROR READING STRING:')
66 CALL
errwrt(
'RETURN WITH VALX = MISSING')
67 CALL
errwrt(
'+++++++++++++++++++++WARNING+++++++++++++++++++++++')
75 900
WRITE(bort_str1,
'("STRING IS: ",A)') str
76 WRITE(bort_str2,
'("BUFRLIB: VALX - STRING LENGTH EXCEEDS LIMIT '//
77 .
' OF 99 CHARACTERS")')
78 CALL
bort2(bort_str1,bort_str2)
function rjust(STR)
THIS FUNCTION RIGHT JUSTIFIES A CHARACTER STRING.
subroutine bort2(STR1, STR2)
This subroutine calls subroutine errwrt() to log two error messages, then calls subroutine bort_exit(...
function valx(STR)
THIS FUNCTION DECODES A REAL NUMBER FROM A CHARACTER STRING.
This module declares and initializes the BMISS variable.
subroutine errwrt(STR)
This subroutine allows the user to specify a custom location for the logging of error and diagnostic ...