[comp.lang.fortran] Converting Hollerith Data to Fortran

dkf@neptune.iec.ufl.edu (Dan FitzPatrick) (11/10/90)

I am working with a program in which the parser returns
both hollerith and real values as douple precision.

What I need to be able to do is converth this double 
precision/hollerith data into character data type.  The
required use is for open/inquire i/o functions.

Question:

     Is there an easy way (other than re-writing the 
parser) of converting the double/hollerith data into 
type character?  What, if any, portability issues come
up under this scenario?


The algorithm need not be elegant - only used in this
one special case (hence my reluctance to re-write the
parser).

Environment:  SunOS 4.0.3, 1.2 Fortran

Any suggestions greatfully appreciated.

--Dan


--
Dan FitzPatrick                            dkf@tcad.ee.ufl.edu
339 Larsen Hall, VLSI TCAD Group
University of Florida, Gainesville, FL  32611   (904) 392-8935