Using HASHED_DICTIONARY

Xavier Oswald x.oswald at free.fr
Fri Aug 22 09:44:43 UTC 2008


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.

> I am new to Lisaac. I have spoken with xoswald on IRC. He helped me get going
> on binding SQLite. I now have a working SQLite binding (very incomplete, but
> I can open/close, execute queries, prepare, bind, step, get/put data,
> etc...).

That's great :)

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

Greetings,
-- 
  ,''`.  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