1 SUBROUTINE CADN30
( IDN
, ADN
)
3 C$$$ SUBPROGRAM DOCUMENTATION BLOCK
6 C PRGMMR: ATOR ORG: NP12 DATE: 2004-08-18
8 C ABSTRACT: GIVEN THE BIT-WISE REPRESENTATION OF THE FXY VALUE
9 C FOR A DESCRIPTOR, THIS ROUTINE CALLS FUNCTION ADN30 AND STORES
10 C ITS RETURN VALUE (I.E. THE ASCII-EQUIVALENT FXY VALUE) AS THE
11 C ROUTINE OUTPUT VALUE. THIS MECHANISM (I.E. A FORTRAN SUBROUTINE
12 C WRAPPER RETURNING ADN AS A CALL PARAMETER, RATHER THAN DIRECTLY
13 C CALLING THE FORTRAN FUNCTION ADN30 FROM WITHIN A C ROUTINE)
14 C ALLOWS SAFE AND PORTABLE (ALBEIT INDIRECT) ACCESS TO THE ADN30
15 C FUNCTION LOGIC FROM WITHIN A C ROUTINE.
17 C PROGRAM HISTORY LOG:
18 C 2004-08-18 J. ATOR -- ORIGINAL AUTHOR
20 C USAGE: CADN30( IDN, ADN )
21 C INPUT ARGUMENT LIST:
22 C IDN - INTEGER: BIT-WISE REPRESENTATION OF FXY VALUE
24 C OUTPUT ARGUMENT LIST:
25 C ADN - CHARACTER*(*): ASCII-CHARACTER FORM OF IDN
28 C THIS ROUTINE CALLS: ADN30
29 C THIS ROUTINE IS CALLED BY: NUMMTB RESTD STSEQ
30 C Normally not called by application
31 C programs but it could be.
34 C LANGUAGE: FORTRAN 77
35 C MACHINE: PORTABLE TO ALL PLATFORMS