Mail Archives: djgpp/1998/02/26/23:30:35
Curtis Wensley <eto AT globalserve DOT net> wrote:
> I was wondering if it is possible to access external variables with the GPC
> compiler?
Var
foo: __external__ Integer;
bar: __asmname__ 'bar' Integer;
The latter one might only work in more recent (beta) versions
of GPC than 2.0; I have not tested it with gpc-2.0.
Hope this helps,
Peter
--
Peter Gerwinski, Essen, Germany, free physicist and programmer
Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - 1 Oct 1997
PGP key fingerprint: AC 6C 94 45 BE 28 A4 96 0E CC E9 12 47 25 82 75
Fight the SPAM! - http://maps.vix.com/
- Raw text -