23 recursive subroutine strnum( str, num, iret )
28 character*(*),
intent(in) :: str
30 integer,
intent(out) :: num, iret
44 call strnum ( str, num, iret )
45 call x48 ( num, num, 1 )
46 call x48 ( iret, iret, 1 )
57 call strsuc ( str, str2, lens )
58 if ( lens .eq. 0 )
return
60 read ( str2(1:lens),
'(I40)', iostat = ios ) num
61 if ( ios .ne. 0 ) iret = -1
This module declares and initializes the IM8B variable.
logical, public im8b
Status indicator to keep track of whether all future calls to BUFRLIB subroutines and functions from ...
recursive subroutine strnum(str, num, iret)
Decode an integer from a character string.
subroutine strsuc(str1, str2, lens)
This subroutine removes leading and trailing blanks from a character string.
subroutine x48(IIN4, IOUT8, NVAL)
Encode one or more 4-byte integer values as 8-byte integer values.