Hi senso,
Is it possible to add support for the Dictionary Pascal data type? It's really difficult to have to go back to looping through an entire array to find the element which matches what you are looking for.
For instance I want to be able to get the correct param out of a data structure by passing in its numeric representation, so that I can quickly build dynamic dispatches from the callback procedure.
hash/dictionary data types in Pascal
I figured out a way to do the kind of dynamic dispatch that I want without a hash type structure. Pretty obvious when I think about it:
But still... hashes are cool.
Code: Select all
curIndex := N - parameterArray[0];
// do something with parameterArray[curIndex]Who is online
Users browsing this forum: No registered users and 18 guests
