[fpc-pascal] detect implementation / interface sections

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Sep 25 10:53:57 CEST 2015


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.


Jonas



More information about the fpc-pascal mailing list