[fpc-pascal] Please someone explain this to me

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Wed Feb 10 10:55:43 CET 2016


On 2016-02-10 00:01, Vojtěch Čihák wrote:
> There exists IDE directive
> {%MainUnit ***.pas}
> and include files should contain it.

That is not an include file requirement, plus that functionality is a
Lazarus-only trick. Any other editor and the FPC compiler sees that as a
simple code comment. Plus not all include files include that information
- in fact most I've seen don't.

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp



More information about the fpc-pascal mailing list