Re: Structure vs purism ?

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
22 Jan 1999 15:38:33 +0100


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/