pascalabcnet/TestSuite/formatter_tests/input/lambdas_closures_7.pas
Бондарев Иван e6e67c193c initial commit
2015-05-14 21:35:07 +02:00

6 lines
103 B
ObjectPascal

begin
var c := Seq(2, 5, 8);
var a:= Seq(2,5,3).Select(x -> x * c[0]);
c[0] := 5;
a.Print;
end.