Re: [fpc-pascal] detect implementation / interface sections

2015-09-25 Thread Jonas Maebe
David Emerson wrote on Thu, 24 Sep 2015: Is there a way to detect what section of a unit the compiler is in, rather than using these user-defined symbols? No. Ditto for initialization, finalization (although I use this much less frequently) No, there aren't any defines for that either.

Re: [fpc-pascal] detect implementation / interface sections

2015-09-25 Thread Mark Morgan Lloyd
David Emerson wrote: I tried sending this message two days ago, but it seems not to have gone through. Trying again. I like using include files, to break up big units into multiple files, and also as macro-based templates. One thing I do frequently is to put both the interface and the imple