🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4712

Re: Code short circuit

#4712
From: Bruce Salzman
Date: Wed, 07 Dec 2005 14:27
17 lines
1320 bytes
"PaoloItaly" <paolot@FAKETHESPAMMERsirius-es.it> wrote in message 
news:4396e818$1@newsgroups.borland.com...

> the compiler cannot know if yuo are using the global variable test 
> in other
> code, so
> can't optimize
>

That does work. I wonder what the compiler thought it was 
"optimizing"?

Thanks for the tip.

-- 
Bruce 
Technical Details
Message-ID: <4396f0fb@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43961a6f@newsgroups.borland.com> <4396e818$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c4f5899a764a1e0
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: " Bruce Salzman" <bruce@nospam.org>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43961a6f@newsgroups.borland.com> <4396e818$1@newsgroups.borland.com>
Subject: Re: Code short circuit
Date: Wed, 7 Dec 2005 08:27:01 -0600
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 24.94.228.231
Message-ID: <4396f0fb@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1133965563 24.94.228.231 (7 Dec 2005 06:26:03 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail