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

2005-09-21 Thread Arne Hanssen
Thus spoke Lowell C. Savage ([EMAIL PROTECTED]): > 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 t

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

2005-09-20 Thread Jan Ruzicka
Reading the previously mentioned page closely I found section that contains conversion functions. http://www.merlyn.demon.co.uk/programs/floatval.pas The procedure EightToSix is probably what you are looking for Jan ___ fpc-pascal maillist - fpc-p

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

2005-09-20 Thread Jan Ruzicka
I think basic reference information you may be looking for is on page http://www.merlyn.demon.co.uk/pas-type.htm -- real2double from rtl/inc/genmath.inc -- function r