I'm trying to overload the following two functions, but I get a compilation errors saying: "Duplicate Identifiers..." When I change the name of one of the functions, it runs smoothly.
I'm using the Pascal Interpreter. Does the pascal interpreter not support overloading or something? Any help will be appreciated.Code:function SS_slotFull(slot: Integer): Boolean; begin ... end; function SS_slotFull(inv: TBoxArray; slot: Integer): Boolean; overload; begin ... end;


Reply With Quote





