[fpc-pascal] FPC linter tool

2018-03-04 Thread Darius Blaszyk
Hi all, I am looking for an open source linter tool to use on FPC projects. A quick google search didn't yield anything specific. Hoping someone here can help me further. TIA Darius Verstuurd vanaf mijn iPhone ___ fpc-pascal maillist -

Re: [fpc-pascal] procedure and function parameters?

2018-03-04 Thread Bernd Oppolzer
Am 04.03.2018 um 18:45 schrieb Sven Barth via fpc-pascal: On 04.03.2018 18:06, Bernd Oppolzer wrote: Are procedure and function parameters allowed in Free Pascal? When I tried to compile the Man-or-boy example program (Knuth's test), FPC complained with a syntax error:

Re: [fpc-pascal] procedure and function parameters?

2018-03-04 Thread Marco van de Voort
In our previous episode, Bernd Oppolzer said: > > function A ( K : INTEGER ; function X1 : INTEGER ; function X2 : > ?? INTEGER ; function X3 : INTEGER ; function X4 : INTEGER ; > ?? function X5 : INTEGER ) : INTEGER ; This is not valid in a Borland derived dialect. Use mode

Re: [fpc-pascal] procedure and function parameters?

2018-03-04 Thread Sven Barth via fpc-pascal
On 04.03.2018 18:06, Bernd Oppolzer wrote: > Are procedure and function parameters allowed in Free Pascal? > > When I tried to compile the Man-or-boy example program (Knuth's test), > FPC complained with a syntax error: > > > c:\work\pascal\work>fpc manorboy.pas > Free Pascal Compiler version

[fpc-pascal] procedure and function parameters?

2018-03-04 Thread Bernd Oppolzer
Are procedure and function parameters allowed in Free Pascal? When I tried to compile the Man-or-boy example program (Knuth's test), FPC complained with a syntax error: c:\work\pascal\work>fpc manorboy.pas Free Pascal Compiler version 3.0.0 [2015/11/16] for i386 Copyright (c) 1993-2015 by

Re: [fpc-pascal] -CR Command line switch and Firebird.pas

2018-03-04 Thread Tony Whyman
Many thanks - not the most obvious of switch names - but it works. On 04/03/18 14:41, Jonas Maebe wrote: On 04/03/18 15:38, Tony Whyman wrote: Is there anyway of turning off the command line switch -CR (Verify object method call validity) on a per unit basis in the same way that -Cr (range

Re: [fpc-pascal] -CR Command line switch and Firebird.pas

2018-03-04 Thread Jonas Maebe
On 04/03/18 15:38, Tony Whyman wrote: Is there anyway of turning off the command line switch -CR (Verify object method call validity) on a per unit basis in the same way that -Cr (range checking) can be turned off using {$R-}? I can't see any such directive in the FPC documentation.