Orlando Llanes wrote:
(*$ifdef __MSDOS__ *) (* The definitions are case-sensitive *) ... (*$endif *) (*$endif *) (*$endif *)
Thanks :)
Use them with care! This way, you can only support some limited set of known platforms, but the GNU compiler is ported to more and more platforms...
Whenever you can, you might want to use portable way of doing things. E.g. to distinguish whether a pointer has 32 or 64 bits (or more), you can use "sizeof(pointer)"...
For an example what I mean, look at Sven's excellent `BGI2GRX' Unit, also known as GPC's `Graph' Unit.
I saw it, but nothing about memory access, besides, I don't see why Borland's BGI should live on.
(* BTW: BGI2GRX doesn't use Borland's inefficient BGI drivers and such, it just provides the same (nearly) interface as Borland's Graph unit. *)
-- Frank Heckenbach, Erlangen, Germany heckenb@mi.uni-erlangen.de http://home.pages.de/~fjf/links.htm