From: Peter Gerwinski Newsgroups: comp.os.msdos.djgpp Subject: Re: mixing pascal /c Date: 27 Dec 1998 15:03:31 GMT Organization: Universitaet Essen Lines: 25 Message-ID: <765i83$dhu11@mx2.hrz.uni-essen.de> References: <75p52l$sq$1 AT bw107zhb DOT bluewin DOT ch> NNTP-Posting-Host: agnes.Dida.Physik.Uni-Essen.DE User-Agent: tin/pre-1.4-971123 (UNIX) (Linux/2.0.33 (i486)) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Antoine Mathys wrote: > I would like to create a Pascal programm, and include a C function in it. > That is, creating a .c file with a func() declaration, and a .pas file with > something like procedure func; external; It's Procedure Func; C; or, more flexible, Procedure MyPrettyFunction; AsmName 'func'; For details see the GNU Pascal FAQ list, available online at http://home.pages.de/~GNU-Pascal/gpc-faq.html . Hope this helps, Peter -- Peter Gerwinski, Essen, Germany, http://home.pages.de/~Peter.Gerwinski/ Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-980830 PGP key on request - 6C 94 45 BE 28 A4 96 - 0E CC E9 12 47 25 82 75 Fight the SPAM and UBE! - http://spam.abuse.net/ - http://maps.vix.com/