[fpc-pascal] Re: Turbo Pascal/legacy data file issue.

Arne Hanssen fpc at tuxic.net
Wed Sep 21 17:40:23 CEST 2005


Thus spoke Lowell C. Savage (savage at lanl.gov):

> At 12:56 PM 9-19-05, Lowell C. Savage wrote:
> >Has anyone come up with a set of routines for converting between Turbo 
> >Pascal's 6-byte "real" format and FPC's real number format?
> 
> Well, I found a "Real2Double" function in the System unit that converts 
> from an old TP 6-byte "real" to an 8-byte double.  (Guess I should have 
> looked a little harder, there.)  But I'm not seeing anything going the 
> other way.  Anyone?

If this is Windows (or OS/2) you could use Virtual Pascal to build
a conversion program.  Even if VP is "dead" I think you still can
get it from www.vpascal.com.

-- 
Vennlig hilsen / Best regards      |\     ___,,--,        _
Arne Hanssen, Senja, Norway        /,`--''        \-,,__,'/
http://www.tuxic.net/             |,4   ) )_    ) /~-----'
---------------------------------'---^~(_/-_)--(_/_)-------



More information about the fpc-pascal mailing list