From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: [Q] expression evaluation order Date: Fri, 15 Aug 1997 09:24:14 -0700 Organization: Alcyone Systems Lines: 20 Message-ID: <33F482AE.2FF2318D@alcyone.com> References: <1 DOT 5 DOT 4 DOT 32 DOT 19970807214727 DOT 0069a31c AT dce03 DOT ipt DOT br> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Cesar Scarpini Rabak wrote: > ANSI does not _try_, it demands!, if some compiler does not conform is > faulty (not 'buggy', which you could live with). > > In fact, this is a behaviour constructed in the design of the language: ... > This is basic in C! Absolutely. In fact, the short circuiting properties of && and || is why there are separate logical and Boolean operators. This even predates K&R C; this short circuiting properties were created in _traditional_ C. -- Erik Max Francis, &tSftDotIotE / email / mailto:max AT alcyone DOT com Alcyone Systems / web / http://www.alcyone.com/max/ San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W \ "Love is not love which alters / when it alteration finds." / William Shakespeare, _Sonnets_, 116