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

2005-09-20 Thread Lowell C. Savage
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

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

2005-09-19 Thread Lowell C. Savage
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

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

2005-09-19 Thread Lowell C. Savage
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

[fpc-pascal] Re: KeyPressed

2005-08-29 Thread Lowell C. Savage
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

[fpc-pascal] Re: KeyPressed

2005-08-23 Thread Lowell C. Savage
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

[fpc-pascal] Re: KeyPressed

2005-08-22 Thread Lowell C. Savage
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

[fpc-pascal] KeyPressed.

2005-08-19 Thread Lowell C. Savage
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

Re: [fpc-pascal] Linking Pascal code to C/C++ static libraries under Windows

2005-08-17 Thread Lowell C. Savage
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

[fpc-pascal] Linking Pascal code to C/C++ static libraries under Windows.

2005-08-16 Thread Lowell C. Savage
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