RE: dumb C question (part 2)
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Apr 20, 2001
- 390 views
> -----Original Message----- > From: Euman [mailto:euman at bellsouth.net] > > // in C > } > else if(playOK && (code == HC_SKIP)) curmess++; > > -- in Euphoria > > elsif and_bits(playOK , code) = HC_SKIP then > curmess += 1 I read this as: elsif and_bits( playOK, code=HC_SKIP ) then curmess +=1 > > // in C > > s = !s; > > -- in Euphoria > > would it be: > > if not s then > or > s = not s (hehe just joking) You shouldn't joke. :) The correct translation would be: s = not s which is the same as s = ( s = 0 ) Matt Lewis