[fpc-devel] Declare variables inside the code

Jonas Maebe jonas.maebe at elis.ugent.be
Thu May 12 09:25:49 CEST 2011


On 12 May 2011, at 04:11, kingbizugo at gmail.com wrote:

> But something that has been pointed (by Joerg I belive) is the initialization of variables, what about it? This would be a nice thing and I don't see why not. I prefer to see:
> 
> *var
>   X: Integer = 0;
>   Y: Integer = 100;*

This is already supported (and least in Delphi and ObjFPC modes, I'm not sure about the other ones).


Jonas


More information about the fpc-devel mailing list