On 05.04.2018 17:10, Sven Barth via fpc-devel wrote:
Martok <list...@martoks-place.de <mailto:list...@martoks-place.de>>
schrieb am Do., 5. Apr. 2018, 16:29:
> From this rule, it follows that every variable must be
explicitly initialized [...]
> Be it with an assignment or an 'var a: type = someonstant;'.
... for which the syntactic sugar was rejected not two weeks ago.
Did we read the same thread?
"var a: type = x" is already supported for both global and local
variables and Florian agreed that there is no reason to restrict that
only to a single variable (but only with the same value for each).
Okay, Jonas disagreed, but personally am in favor of allowing that as
well.
Good to know your opinion.
From what I read the position of rejecting the idea was much stronger
than the support.
Ondrej
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel