Using HASHED_DICTIONARY

Jeremy Cowgar jeremy at cowgar.com
Thu Aug 21 12:53:27 UTC 2008


Quoting Xavier Oswald <x.oswald at free.fr>:
> On 02:13 Thu 21 Aug     , Jeremy Cowgar wrote:
> > Goodmorning!
> 
> Hi,
> 
> Im cc'ing on the list isaac-devel at gna.org since this is the new list and not lot
> of people are already subscribed on this one.

Opps. You did say the list on gna.org. Should I stay here, or subscribe and
use gna.org mailing list?

> > Anyway, I am having problems figuring out how to use HASHED_DICTIONARY. I
> > have code that looks something like:
> > 
> > + m : HASHED_DICTIONARY[INTEGER,INTEGER];
> > m := HASHED_DICTIONARY[INTEGER,INTEGER].create;
> > m.add(20,30);
> 
> you have to do :
> m.add 20 to 30; or something like that, I don't know which is you hash code
> 
> Example from the opengl binding:
>   keys := HASHED_DICTIONARY[INTEGER,INTEGER].create;
>   keys.add k_tab to (`XK_Tab`:INTEGER);
> 

Thanks. Somehow I missed the "to" in the docs. That made all the difference
:-)

Jeremy




More information about the Lisaac-devel mailing list