I made this:
SCAR Code:function Count(var Starting, Ending : Integer): Boolean;
begin
repeat
Starting := Starting + 1;
Writeln(''+IntToStr(Starting)+' msec');
until(Starting = Ending);
end;
begin
Count(1, 50); //When i type here e.x 1, 50; it'll say variable expected.
end.
How do i get that i just have to type a from- and to?




Reply With Quote




