YoHoJo
2013-02-24 05:13:16
function FindWhirlPool(var x, y: Integer): Boolean;
var
Points: TPointArray;
Rx, Ry: Integer;
begin
if X then
begin
if (Rx > 0) or (Ry > 0) then
begin
MMouse(Rx, Ry, 0, 0);
Wait(1000);
Result := True;
ColorToleranceSpeed(1);
Exit;
end;
end;
Result := False;
end;Pseudo-code ^
If FindWhirlPool(253, 209) Then
Begin
Writeln('WhuuurlPooool!');
End;]Variable Expected at line 179
Why? Line is If FindWhirlPool(253, 209) Then