On 30 May 2004 at 0:18, Neil Santos wrote:
Hi guys.
I've been scratching my head for about two hours now, trying to figure out what kind of incantation I need to do in order to compile a module whose interface and implementation sections reside in different files.
-STOP-
Okay, I've composed two other mails before this (with the first couple of paragraphs being part of the second), and I've finally found what I needed.
It turns out that, in order to compile a module that has its interface and implementation sections in two different files, one has to compile them this way:
gpc -c --interface-only TAttributes.int.pas gpc -c --implementation-only TAttributes.imp.pas --include TAttributes.int.pas
Have you tried using "{$include TAttributes.imp.pas}" in "TAttributes.int.pas"?
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/