[fpc-pascal] (no subject)

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Apr 12 15:09:42 CEST 2010


On 12 April 2010 14:27, Tomas Hajny <XHajT03 at hajny.biz> wrote:
>
> These are obviously all valid. There's also another possibility though
> (having advantages and disadvantages compared to this) - you could have an
> include file specifying this define and reference this include file from
> all (relevant) source files.


100% correct Tomas, and a very handy option at that. We actually use
this method in our company projects. Only downside - don't forget to
specify the include file in each and every unit of your project.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-pascal mailing list