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]