| delorie.com/archives/browse.cgi | search |
| From: | Erik Max Francis <max AT alcyone DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: [Q] expression evaluation order |
| Date: | Fri, 08 Aug 1997 17:05:12 -0700 |
| Organization: | Alcyone Systems |
| Lines: | 17 |
| Message-ID: | <33EBB438.32888436@alcyone.com> |
| References: | <5sbb1h$kvr$1 AT newton DOT pacific DOT net DOT sg> <5sd0pd$k66$1 AT gte1 DOT gte DOT net> <33EA9D38 DOT 31561027 AT alcyone DOT com> <5sfpqj$rdk$1 AT gte2 DOT gte DOT net> |
| NNTP-Posting-Host: | newton.alcyone.com |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Kenneth Loafman wrote:
> As early as 1978 I knew that && was short circuiting, but I've run
> across a
> couple of compilers that did not short circuit the || operation, i.e.
> A||B
> could be evaluated in either order.
These compilers didn't even conform to traditional C, then.
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |