76 CALL
strsuc( str, mystr, lens )
77 IF ( lens .EQ. -1 )
RETURN
79 lenc = min( len( chr ), 120 )
85 IF ( nh4wlc .GT. 0 )
THEN
87 IF ( ( lunit .EQ. luh4wlc(i) ) .AND.
88 . ( mystr(1:lens) .EQ. sth4wlc(i)(1:lens) ) )
THEN
90 chh4wlc(i)(1:lenc) = chr(1:lenc)
98 IF ( nh4wlc .GE. mxh4wlc )
THEN
100 CALL
errwrt(
'+++++++++++++++++++++WARNING+++++++++++++++++++++++')
101 WRITE ( unit=errstr, fmt=
'(A,A,I3)' )
102 .
'BUFRLIB: HOLD4WLC - THE MAXIMUM NUMBER OF LONG CHARACTER ',
103 .
'STRINGS THAT CAN BE HELD INTERNALLY IS ', mxh4wlc
105 CALL
errwrt(
'+++++++++++++++++++++WARNING+++++++++++++++++++++++')
109 luh4wlc(nh4wlc) = lunit
111 sth4wlc(nh4wlc)(1:lens) = mystr(1:lens)
113 chh4wlc(nh4wlc)(1:lenc) = chr(1:lenc)
subroutine strsuc(STR1, STR2, LENS)
This subroutine removes leading and trailing blanks from a character string.
subroutine hold4wlc(LUNIT, CHR, STR)
This subroutine writes a long character string (greater than 8 bytes) to a data subset.
subroutine errwrt(STR)
This subroutine allows the user to specify a custom location for the logging of error and diagnostic ...