[fpc-devel] property syntax extension
Michael Van Canneyt
michael at freepascal.org
Thu Oct 18 19:50:35 CEST 2007
On Thu, 18 Oct 2007, Micha Nelissen wrote:
> Inoussa OUEDRAOGO wrote:
> > so the sample code becomes ( using Delphi's attribute syntax )
> > TxxxDatabase = class(...)
> > ...
> > [Engines(List='firebird,oracle,sybase-asa')]
> > property TransactionModel: TTransactionModel read FtransactionModel
> > write SetTransactionModel;
> > ...
> > end;
> That doesn't look like language syntax to me, more like a comment?
> property TransactionModel: TTransactionModel read FtransactionModel
> write SetTransactionModel attribute Engines: List =
> much more logical ?
Indeed. Exactly my point.
More information about the fpc-devel