1. RE: dumb C question (part 2)
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Apr 20, 2001
- 391 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
2. RE: dumb C question (part 2)
- Posted by Fabio Ramirez <faramire at nemo.univalle.edu.co> Apr 20, 2001
- 408 views
-------Phoenix-Boundary-07081998- These messages about how to translate c things to Euphoria are great. I sometimes have to dig for long time in other people's code to know how something translates and sometimes I don't feel sure or comfortable with the things I found so these kind of posts are very useful. Thanks a lot, Fabio ------------------------------------- Fabio Ramirez R. Administrador de Redes - CSI ------------------------------------- -------Phoenix-Boundary-07081998---