Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2000-10

Hashes/Dictionaries

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Tjabo Kloppenburg

hi,

when programming my glade2pas I needed a hash/dictionary type, like in perl or python. Does FreePascal "know" these types?

Tjabo Kloppenburg.

www : http://www.taponet.de/ mobil: 0178 - 5 44 22 12
Jonas Maebe
when programming my glade2pas I needed a hash/dictionary type, like in perl or python. Does FreePascal "know" these types?

No, you have to create them yourself. You can have a look at the file cobjects.pas of the compiler, it implements a hashed dictionary. Or maybe use the FCL, I suppose it may also contain hashed
collections/dictionaries.

Jonas