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] _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal