54 CALL
strsuc( str, mystr, lens )
55 IF ( lens .EQ. -1 )
RETURN
57 lenc = min( len( chr ), 120 )
63 IF ( nh4wlc .GT. 0 )
THEN
65 IF ( ( lunit .EQ. luh4wlc(i) ) .AND.
66 . ( mystr(1:lens) .EQ. sth4wlc(i)(1:lens) ) )
THEN
68 chh4wlc(i)(1:lenc) = chr(1:lenc)
76 IF ( nh4wlc .GE. mxh4wlc )
THEN
78 CALL
errwrt(
'+++++++++++++++++++++WARNING+++++++++++++++++++++++')
79 WRITE ( unit=errstr, fmt=
'(A,A,I3)' )
80 .
'BUFRLIB: HOLD4WLC - THE MAXIMUM NUMBER OF LONG CHARACTER ',
81 .
'STRINGS THAT CAN BE HELD INTERNALLY IS ', mxh4wlc
83 CALL
errwrt(
'+++++++++++++++++++++WARNING+++++++++++++++++++++++')
87 luh4wlc(nh4wlc) = lunit
89 sth4wlc(nh4wlc)(1:lens) = mystr(1:lens)
91 chh4wlc(nh4wlc)(1:lenc) = chr(1:lenc)
subroutine strsuc(STR1, STR2, LENS)
THIS SUBROUTINE REMOVES LEADING AND TRAILING BLANKS FROM A STRING.
subroutine hold4wlc(LUNIT, CHR, STR)
NORMALLY, A LONG CHARACTER STRING (I.E.
subroutine errwrt(STR)
This subroutine allows the user to specify a custom location for the logging of error and diagnostic ...