On Sun, 2010-06-06 at 10:06 +0200, Graeme Geldenhuys wrote:
> On 05/06/2010, Bihar Anwar wrote:
> > I've search fpc mailing list about this matter, I found they were discussed
> > a long time ago (2006), and I still didn't have a conclusion about which one
>
> I have looked into this as well, abou
On 12 Jun 2010, at 02:11, Roger Bailey wrote:
> Can someone explain this?
You are using FPC mode rather than TP or Delphi mode. Add {$mode tp} or {$mode
delphi}, or compile with -Mtp or -Mdelphi
Jonas___
fpc-pascal maillist - fpc-pascal@lists.free
On Sat, 12 Jun 2010, Roger Bailey wrote:
Can someone explain this?
program WhatsGoingOnHere ;
type
FunctionType = function : INTEGER ;
function NamedFunction : INTEGER ;
begin
NamedFunction := 12345 ;
end ;
function TestFunction ( ActualParameter : FunctionType ) : INTEGER ;
begin
Te