Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-tgr!tgr!BLARSON%ECLD@usc-ecl.ARPA
From: BLARSON%ECLD@usc-ecl.ARPA (Bob Larson)
Newsgroups: net.lang.c
Subject: Re: C style
Message-ID: <2467@brl-tgr.ARPA>
Date: Sat, 26-Oct-85 16:52:51 EST
Article-I.D.: brl-tgr.2467
Posted: Sat Oct 26 16:52:51 1985
Date-Received: Tue, 29-Oct-85 00:30:40 EST
Sender: news@brl-tgr.ARPA
Lines: 20

Your examples are not equivelent, you forgot the "else result[i]=0;"
clause for every if on the nested example.  Besides, this example 
could be put as:

   for(i=0; i < 100 && checkreturn == GOOD; i++){
      if( (checkreturn = function1(x)) == GOOD &&
          (checkreturn = function2(x)) == GOOD &&
          (checkreturn = function3(x)) == GOOD &&
          (checkreturn = function4(x)) == GOOD &&
          (checkreturn = function5(x)) == GOOD )
        result[i]=function6(x);
      else result[i]=0;
   }

The if statement can be replaced by a ?: trianary operator.

Bob Larson 
Arpa: BLarson@usc-ecl.arpa
Uucp: ihnp4!sdcrdcf!oberon!blarson
-------