[fpc-devel] language extensions

Daniël Mantione daniel.mantione at freepascal.org
Thu Jun 14 10:30:41 CEST 2007



Op Thu, 14 Jun 2007, schreef Florian Klaempfl:

> Graeme Geldenhuys schrieb:
> > Hi,
> > 
> > I found this website containing language extension that Andreas
> > Hausladen wrote for Delphi.
> > 
> > Is there possibly something we can use in Free Pascal?  Sorry, I'm not
> > sure what license Andreas used.
> > 
> > http://andy.jgknet.de/dlang/
> 
> I like the idea of making generics an extra section. Maybe we should
> think about to do it the same way in fpc.
> 
> > 
> > I like the "for-in" code.
> 
> Using the default property is clean, using count imo not. Thought I
> admit I've no idea so far to do it better.

Well, there already is a ";default;" directive, we could add a ";counter;" 
directive.

Daniël


More information about the fpc-devel mailing list