Well my question is how do i make a procedure true so that i can put it in a until(....)?
Like a fisher
repeat
the fishing part
etc
until(there is no fish in the inventory)
^^^^^^^^^^^^^^^^^^^^^^^
How do i do this?
I was thinking about
procedure NoFish;
begin
if(not((FindBitmapin(Sardine,x,y,MIX1,MIY1,MIX2,MI Y2)))or
(FindBitmapin(Herring,x,y,MIX1,MIY1,MIX2,MIY2)))or
(FindBitmapin(Pike,x,y,MIX1,MIY1,MIX2,MIY2))or
(FindBitmapin(Trout,x,y,MIX1,MIY1,MIX2,MIY2))or
(FindBitmapin(Salmon,x,y,MIX1,MIY1,MIX2,MIY2))then
exit;//>>i wanted to put here 'Result:= True' but he don't knows what it means
end;
and then in the loop
until(NoFish = True)>but that's failure, an error
So can someone help me plz?![]()





Reply With Quote



