kuze
2015-02-22 20:28:43
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.
function SS_slotFull(slot: Integer): Boolean;
begin
...
end;
function SS_slotFull(inv: TBoxArray; slot: Integer): Boolean; overload;
begin
...
end;I'm using the Pascal Interpreter. Does the pascal interpreter not support overloading or something? Any help will be appreciated.