
Originally Posted by
abu_jwka
Can you expand on that?
You mean make it do the procedure a certain number of times?
Say for example you have
Simba Code:
program Example;
var
counter:integer;
procedure Example2;
begin
KeyDown(9);
KeyUp(9);
end;
begin
repeat
Example2;
Inc(Counter);
Until
Counter >= 10;
end.
and you wanted to do ALOT of procedures similar to that, are there any shortcuts other than adding
Simba Code:
program Example;
var
counter:integer;
procedure Example2;
begin
KeyDown(9);
KeyUp(9);
end;
procedure Example3;
begin
KeyDown(9);
KeyUp(9);
end;
begin
repeat
Example2;
Inc(Counter);
Until
Counter >= 9;
end;
begin
repeat
Example3;
Inc(Counter);
Until
Counter >= 20;
end.
every single time?