Can anyone tell me why on line 8(if(FindColorSpiral(...))) I am getting the error "Compiler error Line 8 Variable Expected"? I appear to be following the documention online so I cannot figure out the issue. I am using the newest version of SCAR, which I updated to today from the previous version in hope it would solve this issue.
program New;
var
X, Y:Integer;
begin
repeat
if(FindColorSpiral(X, Y, 2762425, 0, 0, 800, 600)) then
begin
MoveMouse(X, Y);
end;
Wait(10);
until(1<>1);
end.