[fpc-devel] Multiple variable initialization

Ralf Quint freedos.la at gmail.com
Sat Mar 24 18:48:28 CET 2018


On 3/24/2018 6:54 AM, Sven Barth via fpc-devel wrote:
> Anthony Walter <sysrpl at gmail.com <mailto:sysrpl at gmail.com>> schrieb am 
> Sa., 24. März 2018, 14:51:
>
>     If you were going to patch I'd also consider allowing:
>
>     program Test;
>     var
>     B, C: Integer = 0, 1;  // sets B = 0, and C = 1
>     begin
>     end.
>
>
> No, that is only confusing.
+1

Writing programs in Pascal should make them readable, not add more 
obfuscation methods.

Ralf


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20180324/d73886fe/attachment.html>


More information about the fpc-devel mailing list