[q] Unit example ?_(re)
Fri, 30 May 1997 16:00:48 +0200 (MET DST)
According to Patricio Domingues:
>
> Being a newbie in GPC use, I'm looking for a GPC unit example, so I can
> conceal some C functions interface in this unit.
Unit SampleUnit;
Interface
Procedure Puts ( SomeString: CString ); C;
Implementation
(* empty *)
end.
Program Test;
uses
SampleUnit;
begin
Puts ( 'OK' );
end.
You can find more about this in the GPC FAQ, available in the `contrib'
subdirectory on ftp://kampi.hut.fi/jtv/gnu-pascal/ or online at
http://home.pages.de/~gnu-pascal/gpc-faq.html.
Hope this helps,
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer
peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201]
maintainer GNU Pascal [970510] - http://home.pages.de/~gnu-pascal/ [970125]
Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)
HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada -
Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es