[fpc-pascal] Pascals unit for associate arrays?
Francisco Reyes
lists at stringsutils.com
Tue Sep 11 05:38:33 CEST 2007
Is there any unit, or built in functionality, to do the equivalent of
perl's associate arrays or Python's dictionaries?
What I am trying todo is to parse some lines and to store ocurrences of
certain strings.
For example
string1
string2
string1
string3
string2
What I want to do is to create an entry string1 and count all string1 one
ocurrences, the same for each different string. In the end I would have
string1 2
string2 2
string3 1
More information about the fpc-pascal
mailing list