From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: inefficiency of GCC output code & -O problem Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: <1hkufsc44g8v6qvgqtubfgq72iomh674nt@4ax.com> References: <38F9D717 DOT 9438A3F6 AT mtu-net DOT ru> <8df84a DOT 3vvqu6v DOT 0 AT buerssner-17104 DOT user DOT cis DOT dfn DOT de> <38FB4094 DOT DE7B5F4C AT mtu-net DOT ru> <8dfum2 DOT 3vvqu6v DOT 0 AT buerssner-17104 DOT user DOT cis DOT dfn DOT de> <38FB7858 DOT 41B090DB AT mtu-net DOT ru> <8dh6kr DOT 3vvqvqr DOT 0 AT buerssner-17104 DOT user DOT cis DOT dfn DOT de> <38FC0E77 DOT 904B12BE AT mtu-net DOT ru> <8dibun DOT 3vvqvqr DOT 0 AT buerssner-17104 DOT user DOT cis DOT dfn DOT de> <38FDCD15 DOT 7BC68C13 AT mtu-net DOT ru> <38FE9B26 DOT A0D244EE AT unb DOT ca> <38FE9F6C DOT C7904A3D AT mtu-net DOT ru> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 39 X-Trace: /b/VKTErOiSLC6A/288BWJfjHAHGm6AYjTMcSQrOMXD5LEP3F1SiTgYZwEHGmST9olhWAtS64OFE!fnU39IfLzBPlEhLXv+R01BAq+8Bm+uK/svCUvqPEY4AkfvTTEeluaKHEn/dqC1BJqSD/IfjMtgv6!OHorzqo= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Thu, 20 Apr 2000 18:55:35 GMT Distribution: world Date: Thu, 20 Apr 2000 18:55:35 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 20 Apr 2000 10:10:52 +0400, "Alexei A. Frounze" wrote: >Pascal syntax doesnt have any semicolons between IF and ELSE: > >IF something THEN operator1 ELSE operator2; > >Both operators may be either simple or composite. Semicolon is not needed here. > >In C we have different situation: > > if (something) operator1; else operator2; > >and > > if (something) { > do_something(); > } else operator2; > >I dislike this. :(( You might like it better if you see it in BSD indentation: if(something) { foo(); redraw = 1; } else bar(); -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/