PascalABC.NET: Difference between revisions

Content deleted Content added
Miks2012 (talk | contribs)
Miks2012 (talk | contribs)
Line 72:
Assert(a.Length mod 2 = 0);
var n := a.Length div 2;
a := a.Skip([n).Concat(:] + a.Take([:n)).ToArray];
a.Println;
end.
Line 83:
for var i:=1 to 100 do
p := p * i;
writePrintln(p);
end.
</source>