pascalabcnet/TestSuite/lambda_capture_for_counter_1.pas

14 lines
194 B
ObjectPascal
Raw Permalink Normal View History

2019-06-18 21:19:46 +03:00
begin
Arr(0).Select(
i ->
begin
Result := 0;
for var i2 := 3 to 4 do
begin
//Print(i2);
var a := i2;
Print(a)
end;
end
);
end.