Re: dumb C question (part 2)
- Posted by Irv Mullins <irvm at ellijay.com> Apr 20, 2001
- 508 views
On Fri, 20 Apr 2001, Euman wrote: > Another dumb C translation question > > heres where I get confused > > // in C > > s = !s; > > -- in Euphoria > > would it be: > > if not s then > or > s = not s (hehe just joking) Yes. These give the same results: // C #include <stdio.h> int main() { int s; s = 3; s = !s; printf("%d",s); } -- Euphoria atom s s = 3 s = not 3 printf(1,"%d",s) Regards, Irv