[fpc-pascal] Nested comments

Sven Barth pascaldragon at googlemail.com
Mon Sep 23 14:35:10 CEST 2013


Am 23.09.2013 14:28, schrieb Juha Manninen:
> On Mon, Sep 23, 2013 at 3:06 PM, Michael Van Canneyt
> <michael at freepascal.org> wrote:
>> Use Delphi mode or TP mode.
> Thanks, it helped.
> Actually there already was {$MODE Delphi} in an include file.
> Apparently it does not work, it must be in every pascal unit.
The include needs to be before the interface uses clause. Better before 
the 'interface' keyword. Otherwise the modeswitch inside an include file 
works without problems as the FPC compiler uses that as well. Maybe you 
need to check for warnings...

Regards,
Sven



More information about the fpc-pascal mailing list