27 SUBROUTINE ipkm(CBAY,NBYT,N)
29 COMMON /hrdwrd/ nbytw,nbitw,iord(8)
31 CHARACTER*128 BORT_STR
38 IF(nbyt.GT.nbytw)
GOTO 900
44 int =
irev(ishft(n,(nbytw-nbyt)*8))
53900
WRITE(bort_str,
'("BUFRLIB: IPKM - NUMBER OF BYTES BEING PACKED '//
54 .
', NBYT (",I4,"), IS > THE INTEGER WORD LENGTH ON THIS '//
55 .
'MACHINE, NBYTW (",I3,")")') nbyt,nbytw
subroutine bort(STR)
This subroutine calls subroutine errwrt() to log an error message, then calls subroutine bort_exit() ...
subroutine ipkm(CBAY, NBYT, N)
This subroutine encodes an integer value within a specified number of bytes of a character string,...
function irev(N)
THIS FUNCTION WILL, WHEN THE LOCAL MACHINE IS "LITTLE- ENDIAN" (I.E., USES A RIGHT TO LEFT SCHEME ...