[fpc-pascal] declaration of functions
Jürgen Hestermann
juergen.hestermann at gmx.de
Fri Oct 15 17:18:13 CEST 2010
Sven Barth schrieb:
>> FPC requires the full declaration to be repeated. Can this be avoided
>> somehow? I have many functions/procedures without full declaration in
>> the implementation part.
> Add
> {$mode delphi}
I would not suggest to use {$mode delphi}
but {$ModeSwitch REPEATFORWARD+} instead.
This only changes one behaviour while {$mode delphi}
changes a lot (possibly unwanted) other things too.
More information about the fpc-pascal
mailing list