Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2006-05

implementing interfaces by delegation

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

I am currently using FPC 2.0.2 with Lazarus. Does FPC have support for implementing interfaces by delegation.

I keep getting the error:

TreeBuildVisitor.pas(115,51) Fatal: Syntax error, ";" expected but
"identifier IMPLEMENTS" found

which I guess tells me that FPC doesn't support "implements" yet.

Code sample:
property MyInterface: IMyInterface read FMyInterface implements IMyInterface;

Regards,
- Graeme -

There's no place like 127.0.0.1

Reply by email

Florian Klaempfl
to Graeme Geldenhuys
Graeme Geldenhuys wrote 11 lines
Hi, I am currently using FPC 2.0.2 with Lazarus. Does FPC have support for implementing interfaces by delegation. I keep getting the error: TreeBuildVisitor.pas(115,51) Fatal: Syntax error, ";" expected but "identifier IMPLEMENTS" found which I guess tells me that FPC doesn't support "implements" yet.

That's the case, indeed.

Reply by email