[fpc-pascal] Re: Declaration of arrays

Rainer Stratmann rainerstratmann at t-online.de
Tue Jun 18 22:02:41 CEST 2013


> As for easy migration from C, do you really
> think removing "0 .." (approximately 4 characters) is a benefit?

Yes of course. In large programs it is helping you to be correct all the time 
when migrating code. See also the statement of  Alberto.


> anyway, a change in the converter should be more adequate, IMHO, that by
> default translates [X] into [0 .. X-1]

In C(++) arrays are defined only like you describe.
Freepascal can easily adapt this, I am sure.



More information about the fpc-pascal mailing list