Florian Klaempfl [EMAIL PROTECTED] wrote, in part:
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?
http://www.freepascal.org/docs-html/rtl/system/real2double.html
Thanks. My apologies
r.t1 := 1.0;
r.t2 := 2.0;
assign ( realfile, 'c:\r.rfl' );
rewrite ( realfile );
write ( realfile, r );
close ( realfile );
end.
Any ideas appreciated!
Thanks,
Lowell C. Savage
[EMAIL PROTECTED]
505-667-6964 (office/msg)
360-961-8965 (cell/msg)
505-667-4341 (shared fax
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?
Thanks,
Lowell
At 12:56 PM 9-19-05, Lowell C. Savage wrote
of the problems. The other part (Crt accessing
console independently of the Video unit) isn't good design, but
shouldn't be causing your problems.
Lowell C. Savage
[EMAIL PROTECTED]
505-667-6964 (office/msg)
360-961-8965 (cell/msg)
505-667-4341 (shared fax
the init code that hooks
input/output
are run.
Lowell C. Savage
[EMAIL PROTECTED]
505-667-6964 (office/msg)
360-961-8965 (cell/msg)
505-667-4341 (shared fax)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman
library DLL looks kind of
like the way to go.
Lowell C. Savage
[EMAIL PROTECTED]
505-667-6964 (office/msg)
360-961-8965 (cell/msg)
505-667-4341 (shared fax)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org
conio.h functions _kbhit and getch. But if there is a simple fix to
the KeyPressed issue, then my IO.pp unit can simply have an implementation
that calls KeyPressed and ReadKey instead of using the DLL.)
Thanks in advance.
Lowell C. Savage
[EMAIL PROTECTED]
505-667-6964 (office/msg)
360-961-8965
some
experience with Delphi. Would I be able to compile my TP code (with
perhaps minor mods) and link it to Win32 static libraries for which I only
have the compiled libraries and header files?
Thanks!
Lowell C. Savage
[EMAIL PROTECTED]
505-667-6964 (office/msg)
360-961-8965 (cell/msg)
505-667
creating the DLL in
the first place since I can't get another test C program to link to it.)
Any suggestions?
Thanks in advance!
Lowell C. Savage
[EMAIL PROTECTED]
505-667-6964 (office/msg)
360-961-8965 (cell/msg)
505-667-4341 (shared fax)
___
fpc