[fpc-pascal]External variables in FPC

md md at realmwireless.com
Wed Nov 22 23:47:38 CET 2000


Another brain teaser:

Page 47 of PROG.PDF refers to external variables.  I am trying to create
a shared library if FPC 
and also trying to access those variables from executables in linux.

FPC Linux->

var
 arg1 : integer ; cvar ; external ;

Spits compiler error that 

Fatal: Syntax Error, : expected but ; found

Does the reference to external variables work under Linux work?

Can variables be exported out of shared libraries under linux?

Mark




More information about the fpc-pascal mailing list