|
From: | felix winkelmann |
Subject: | Re: [Chicken-users] binary logic functions |
Date: | Wed, 23 Aug 2006 22:46:54 +0200 |
On 8/18/06, Matthew David Parker <address@hidden> 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
[Prev in Thread] | Current Thread | [Next in Thread] |