[fpc-pascal] Re: Declaration of arrays

Alberto Narduzzi albertonarduzzi at yahoo.com
Tue Jun 18 21:30:06 CEST 2013


On 18/06/13 18:42, leledumbo wrote:

well, to be honest, int hahaha[10] -> hahaha: array[0..9] of integer;

it is not just adding "0.."


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


just my 2c

> I think this was requested a looooooooong time ago but was rejected. I forgot
> what was the reason, but I myself don't really like it despite it's upward
> compatible with Oberon. As for easy migration from C, do you really think
> removing "0 .." (approximately 4 characters) is a benefit?



More information about the fpc-pascal mailing list