Xtensity
2010-02-11 15:52:13
Basically I'm using TPAs, and moving mouse fast to all found points, but how do I make it stop in the middle of the For function if it's found what it's looking for….like if rs_GetUpText was what I was looking for?
2010-02-11 15:52:13
2010-02-11 15:59:04
2010-02-11 16:04:21
for i := 0 to 99 do
begin
if BooleanIsTrue then
begin
insertstuffhere;
break; // breaks the for..do loop.
end;
end;
2010-02-11 16:06:53
2010-02-11 16:43:47
2010-02-11 16:45:16
From: jimthesoundman
What is the difference between break and exit?
2010-02-11 16:50:40
From: jimthesoundman
What is the difference between break and exit?
procedure One;
begin
repeat
Break;
until (True);
WriteLn('Jump here');
end;
procedure Two;
begin
repeat
Exit;
until (True);
WriteLn('Won''t jump here');
end;
begin
One;
Two;
end.