ok, im getting an invalid number of parameters error, i know what this is usually caused by but i need a bit more specific answer my problem if anyone has about 3 seconds to look at this.
i have rodcolor set as a global var
in my main loop i haveCode:Procedure RodCheck; var o : integer; Begin; for o:= 1 to 2 do case o of 1:Rodcolor:=FindFishingEquipmentColor('FlyFishingRod'); 2:FindFishingEquipment(Rodcolor,'FlyFishingRod'); end; end;
i know this is likely to annoy many of you, but i have pretty much drawn a blank.Code:if findfishingequipment then //this is the line with the problem begin;
also, is this an acceptable place to use a case? or could it be done by a more efficient method?


Reply With Quote













i hate starting mine with 0. Although it is good practice to as everything has to start with zero or SHOULD start with zero such as arrays.
