On 8/18/06, Matthew David Parker <[EMAIL PROTECTED]> wrote:

Sorry to bother you all with a dumb scheme question, but I can't seem to
find it anywhere on the net...

How do you do binary logic in chicken?

like, what I would normally type in chez scheme is:
(logand #b1001 #b0111)
> 1


You probably want to check out "bitwise-and", etc.
(as John pointed out: it's in "Unit llibrary").


cheers,
felix

--
http://galinha.ucpel.tche.br:8081/blog/blog.ssp


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to