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


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to