I have this:
Simba Code:if FindColorsTolerance(TreeTPA, 2649183, MSX1, MSY1, MSX2, MSY2, 6) then
result := True;
If complied gives: Unknown identifier 'result'
Thank you![]()
I have this:
Simba Code:if FindColorsTolerance(TreeTPA, 2649183, MSX1, MSY1, MSX2, MSY2, 6) then
result := True;
If complied gives: Unknown identifier 'result'
Thank you![]()
Is this called in a function?
You should have something like
Simba Code:function FunctionName: Boolean;
Simba Code:function Thecolor: Boolean;
var
TreeTPA: TpointArray;
begin
if FindColorsTolerance(TreeTPA, 2649183, MSX1, MSY1, MSX2, MSY2, 6) then
result := True;
end;
Edit'd
Creds to DannyRS for this wonderful sig!
Miner & Urn Crafter & 07 Chicken Killer
SPS BlindWalk Tutorial
Working on: Nothing
teacher in every art, brought the fire that hath proved to mortals a means to mighty ends
There are currently 1 users browsing this thread. (0 members and 1 guests)