From: clc5q AT cobra DOT cs DOT Virginia DOT EDU (Clark L. Coleman) Newsgroups: comp.os.msdos.djgpp Subject: Re: short circuit evaluation Date: 2 Apr 1999 01:46:56 GMT Organization: University of Virginia Lines: 35 Message-ID: <7e17ig$fab$1@murdoch.acc.Virginia.EDU> References: <7dqv06$81b$1 AT fe1 DOT cs DOT interbusiness DOT it> <37035dc9 DOT 12582870 AT news DOT snafu DOT de> NNTP-Posting-Host: cobra.cs.virginia.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <37035dc9 DOT 12582870 AT news DOT snafu DOT de>, Horst Kraemer wrote: >On Tue, 30 Mar 1999 18:49:55 +0200, "Bonifati" >wrote: > >> I'm a beginner in C. >> I need to disable/enable complete bool eval in RHide. >> I have found nothing about short circuit evaluation in rhide or djgpp >> manuals. >> what's the trick? > > >You don't need it and there is no trick. Complete boolean evaluation >has never existed in C and will never exist. > >If you would need full evaluation once a year, you would write > > i = f(); > if (i || g()) /* or if (i && g()) */ How does this force full evaluation? Shouldn't he try: i = f(); j = g(); if (i || j) wherever he wanted a full evaluation of: if (f() || g()) ????