delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/07/11:36:19

From: xfesenko AT pacific DOT net DOT sg (Victor)
Newsgroups: comp.os.msdos.djgpp
Subject: Expression evaluation question
Date: Mon, 04 Aug 1997 16:00:01 GMT
Organization: Subscriber, Pacific Internet, Singapore
Lines: 13
Message-ID: <5s39gj$1m1$1@newton.pacific.net.sg>
NNTP-Posting-Host: dyn121ppp234.pacific.net.sg
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Is it safe to assume that the expression is evaluated from left to
right in DJGPP?
Is, for instance, such a piece of code valid ?   

 if (Phase == SL_NEXT  || ((status = InquireOldestError()) !=
SL_BADACCESS   && status != SL_BADRESPONSE && status !=
SL_NULLRESPONSE  && (status = SendCommand(Phase, 0)) ==
OKAY))return(OKAY);

Thanks.
Victor Fesenko


- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019