[Lazarus] Groudwork for Undo in Form Designer

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri Jan 8 22:20:04 CET 2010


Juha Manninen schrieb:

> P.S.
> 
> There was discussion of const array syntax in another thread. I really could 
> use a new syntax in IDECommands unit, like:
> const
>   IDECommandStrs: array[0..] of TIdentMapEntry = (
> 
> The array has about 200 elements. During testing I added and removed items 
> from it and then tried to compile. Uhhhh...
> Counting the elements should really be the compiler's work, not mine.

+1

At least the error message could mention the actual number of entries, 
as found in source code. This doesn't require any change to the language 
or compiler, only an change to the error message generation.

DoDi





More information about the Lazarus mailing list