Message-ID: <38823564.37F9F865@ou.edu> From: David Cleaver X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Question on 'if' statements... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 10 Date: Sun, 16 Jan 2000 15:17:24 -0600 NNTP-Posting-Host: 129.15.140.115 X-Complaints-To: usenet AT ou DOT edu X-Trace: news.ou.edu 948057374 129.15.140.115 (Sun, 16 Jan 2000 15:16:14 CST) NNTP-Posting-Date: Sun, 16 Jan 2000 15:16:14 CST Organization: The University of Oklahoma To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello all, I was wondering about how DJGPP would handle a very large if statement which contained alot of '&&' in it. Does the compiler make it so that the instant it hits a 'false' value it breaks out, or does it continue through all of tests and then does the '&&' operation(s) later? I need to know in order to try and optimize a program that I am writing. Any help you can give will be greatly appreciated. Thanks for you time. -David C.