pascalabcnet/TestSuite/formatter_tests/input/lambdas_closures_7.pas

6 lines
103 B
ObjectPascal
Raw Permalink Normal View History

2015-05-14 22:35:07 +03:00
begin
var c := Seq(2, 5, 8);
var a:= Seq(2,5,3).Select(x -> x * c[0]);
c[0] := 5;
a.Print;
end.