foreachWithTypeByIntRange.pas
This commit is contained in:
parent
63f7046fe5
commit
2dcce333d0
|
|
@ -0,0 +1,7 @@
|
|||
function f := new IntRange(0,3);
|
||||
function f1 := Lst(1,2,3);
|
||||
|
||||
begin
|
||||
foreach var i: integer in f do
|
||||
Print(i)
|
||||
end.
|
||||
Loading…
Reference in a new issue