Using HASHED_DICTIONARY

Xavier Oswald x.oswald at free.fr
Fri Aug 22 12:55:31 UTC 2008


On 08:53 Thu 21 Aug     , Jeremy Cowgar wrote:
> 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?

I don't think it's useful to subscribe to gna..
We will be all on alioth in a few days

> > > 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
> :-)

:)

-- 
  ,''`.  Xavier Oswald <x.oswald at free.fr>                   
 : :' :  GNU/LINUX Debian Maintainer                        
 `. `'   GnuPG Key ID 0x88BBB51E                            
   `-    938D D715 6915 8860 9679  4A0C A430 C6AA 88BB B51E 




More information about the Lisaac-devel mailing list