lkml.org 
[lkml]   [1999]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Structure vs purism ?
From
Date
Francis GALIEGUE <desdemona@mail.cpod.fr> writes:

|> >
|> > Ah, but this is now equivalent instead to
|> > if (func1()&&func2()&&func3()&&func4())
|> > do_something();
|> > else
|> > complain();
|> >
|>
|> What is func2() depends on the results of func1()? Or does the &&
|> operator in C just works as in LISP, ie. drop the test when one argument
|> has proven false?

Yes.

--
Andreas Schwab "And now for something
schwab@issan.cs.uni-dortmund.de completely different"
schwab@gnu.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.064 / U:1.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site