On Thu, 15 Jun 2017 06:37:41 -0400
"James Richters" <ja...@productionautomation.net> wrote:

>[...]
> I see, thanks for explaining.   For some reason, I was thinking it was 
> optional to put it in the compiler, but I could also put it in the program.
> Is there no way to set a global define in each program so I could have 
> several programs defined differently and randomly compile them without 
> changing any settings?  

The idea is that you have one project per program. You can compile them
randomly without changing anything.


> It seems some method of doing that would be very useful... but maybe not easy 
> to implement... I suppose it probably compiles all the units first then the 
> main program, so putting anything in the main program wouldn't be seen until 
> it was too late.

There are already many ways to add defines. Adding another one would
make it harder for newbies.

Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to