[fpc-devel] Multiple variable initialization

Ondrej Pokorny lazarus at kluug.net
Sat Mar 24 11:46:37 CET 2018


Is there a reason why multiple variable initialization is forbidden?

program Test;
var
   A: Integer = 0;    // allowed
   B, C: Integer = 0; // not allowed
begin
end.

Will a patch be applied that allows it?

Ondrej




More information about the fpc-devel mailing list