[Lazarus] const array syntax

Paul Ishenin webpirat at mail.ru
Tue Jan 12 04:20:41 CET 2010


Alexander Klenin wrote:
> 3) Finally, regardless of the preceeding discussion, that
> IDECommandStrs array seems
> like a tiresome and pointless exercise in code duplication. Why not use
>
> function IDECommandStr(ec: TIdentMapEntry): String;
> begin
>   WriteStr(ec, Result);
> end;
>
> instead?
>   
Maybe it was not available at the moment of implementation?

Best regards,
Paul Ishenin.




More information about the Lazarus mailing list