[fpc-pascal] Include files
Mark Morgan Lloyd
markMLl.fpc-pascal at telemetry.co.uk
Thu Dec 28 12:43:55 CET 2006
Does FPC have any restriction on where in a unit an include file may be
inserted?
I was looking at a program last night that's currently compiled by TP and Delphi
which eventually I'd like to be compatible with FPC/Lazarus. Customisation is
simplified if fragments can be moved into an include file- specifically, parts
of an enumeration, command parser and a case statement- but while Delphi
appeared happy with an include file in the middle of a procedure TP wasn't.
Obviously knowing whether FTC has any restrictions on this influences what I do
with my code.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the fpc-pascal
mailing list