[Lazarus] const array syntax

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Jan 12 15:26:32 CET 2010

J├╝rgen Hestermann schrieb:

>> IDECommandStrs: array[0..*] of TIdentMapEntry = (
>> IDECommandStrs: array[0..auto] of TIdentMapEntry = (
>> IDECommandStrs: array[0..end] of TIdentMapEntry = (
> I would vote for "auto". But beside finding a good syntax I am not sure 
> whether it is so easy to implement such automatic border calculation.

That's no problem. You also don't have to specify the number of 
variables or constants in a unit, for preallocation.

More critical are the many possible variations. Without a definite 
consent to one syntax, odds are good that nothing will be implemented.


More information about the Lazarus mailing list