I studied Delphi, but loved to use hash arrays in Perl and Java. Do Delphi have data structures for comparisons?
I know that TStringList can be used as an array of hashes:
var myHash:TStringList); begin myHash:=TStringList.Create(); myHash.values['color']:='blue'; Showmessage(myHash.Values['color']); //blue myHash.free; end;
Is it possible to build more complex data structures in Delphi, such as a Perl hash of arrays, etc.
source share