Re: Constant IDE crashes

"lcluke" <[email protected]> Thu, 03 Apr 2003 06:44:56 -0000
Newsgroups gmane.lisp.corman
Message-ID <[email protected]>
--- In [email protected], JP Massar <massar@a...> wrote:
> At 08:19 AM 4/2/03 +0000, lcluke wrote:

> >In one case I use a hashable to store C arrays containing OpenGL
> >color RGB values. (Q: How do you iterate though each entry in a 
hash table, setting each slot to (ct:free)) ?
> 
> 
> Here's a way to iterate through a hash table:
> 
> (with-hash-table-iterator (a x)
>          (block exit
>                  (loop
>                  (multiple-value-bind (present key value)
>                          (a)
>                          (when (null present) (return-from exit 
nil))
>                   (print (list key value))))))
> 

Thanks very much :)



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/xaxhjB/hdqFAA/VygGAA/SyjtlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/