e drawn fonts.
The original line (at least in V. 2.0.0) had just the default values and
"_MOVE" was before "_DRAW" so that "_MOVE" was 2 and "_DRAW" was 3. When I
made this change, my program went from displaying nothing to displaying the
proper
as doubles (native on x86 platform).
Thanks,
Lowell
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?
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
{$PACKRECORDS 1}
{$ENDIF}
type
realrec = record
t1 : real;
t2 : real;
end;
var
realfile : file of realrec;
r : realrec;
begin
r.t1 := 1.0;
r.t2 := 2.0;
assign ( realfile, 'c:\r.rfl' );
rewrite ( realfile );
write ( realfile, r );
cl
lve most 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)
ince the units must still be USES'd, and thus 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-pasca
other languages
commented out.)
I'm using: CRT, IO, DOS, Video, Printer, Graph, and Drivers. It's only one
or two modules that need Video, Printer, Graph and Drivers (not necessarily
the same ones). But, of course when it all gets linked together, you only
need one reference to ca
t;ReadKey" calls with "CheckKey" and "GetKey" calls
respectively which, in turn, respectively call the C standard library
functions "_kbhit" and "getch". But if there is a simple fix to
the KeyPressed issue, then my IO.pp unit can simply have an implemen
I'd expect OpenWatcom Linker to be able to do
it)...
Tomas
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
de. Any
thoughts? It sounds like there are a few people on this list who have 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
t the linker to see the "Interface.lib" files that contain them. I've
tried setting up my wrapper module as a DLL but haven't had much luck
there (I suspect the problem is that I'm not correctly creating the DLL in
the first place since I
11 matches
Mail list logo