On Wed, 6 Jan 2010, Juha Manninen wrote:

On keskiviikko, 6. tammikuuta 2010 13:14:18 Michael Van Canneyt wrote:

Why ? Every class in 1 file is perfectly possible with include files, and 1
big unit file.

Ok, include files seem to solve this problem.
I don't know why they are not commonly used in Delphi programs as source
files. It may be a culture or convention also, technically it should be
possible with Delphi as well.

The Delphi compiler has no problems with include files, but the Delphi IDE
has; Include files - just like conditioanl defines - totally mess up all code tools. Probably the reason why they are not encouraged.

Michael.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to