Sign in Join

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

Mailing lists / lazarus / 2015-04

enumerator operator not supported by codetools ?

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Michael Van Canneyt

Hi,

When adding an enumerator operator to source code

   operator Enumerator(ASchema: TSchema): TSchemaEnumerator;

The codetools stop working. I get an error
'Expected end., but...'

Michael.

Reply by email

Mattias Gaertner
to Michael Van Canneyt
Show quoted text 7 lines
Hi, When adding an enumerator operator to source code operator Enumerator(ASchema: TSchema): TSchemaEnumerator; The codetools stop working.

Works here.

I get an error 'Expected end., but...'

Full error message please.

Can you give a complete example?

Mattias

Reply by email

Michael Van Canneyt
to Mattias Gaertner
Mattias Gaertner wrote 18 lines
On Thu, 2 Apr 2015 13:58:45 +0200 (CEST) Michael Van Canneyt wrote: > Hi, > > When adding an enumerator operator to source code > > operator Enumerator(ASchema: TSchema): TSchemaEnumerator; > > The codetools stop working. Works here. > I get an error 'Expected end., but...' Full error message please. Can you give a complete example?

Turns out it was my own fault; Had to move the operator out of the 'Type' block. My apologies for the disturbance :(

Michael.

Reply by email