Code:program new; var x,y,k:integer; Begin k:=0 KeyDown(16); repeat MoveMouse(x,y); Wait(500); ClickMouse(x,y,1); k:=k+1; Until(k:=30);//[Error] (12:15): Closing parenthesis expected at line 11 KeyUp(16); Wait(1000); end.
Code:program new; var x,y,k:integer; Begin k:=0 KeyDown(16); repeat MoveMouse(x,y); Wait(500); ClickMouse(x,y,1); k:=k+1; Until(k:=30);//[Error] (12:15): Closing parenthesis expected at line 11 KeyUp(16); Wait(1000); end.
(k = 30)
your doing := which is used to set the var.
Simba Code:program new;
var
x,y,k:integer;
begin
k := 0;
KeyDown(16);
repeat
MoveMouse(x,y);
Wait(500);
ClickMouse(x,y,1);
k:=k+1;
Until(k = 30);
KeyUp(16);
Wait(1000);
end.
Thanks I knew it was something simple but my eyes couldn't catch it.
There are currently 1 users browsing this thread. (0 members and 1 guests)