🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Another delphi translation please!

#5164
From: Alan Bellingham
Date: Tue, 27 Sep 2005 13:56
25 lines
1995 bytes
"Bruce Knowles" <knowle_b@mtn.co.za> wrote:

<rant>
Please trim your quotes - this conversation is threaded, we can all see
the post you're following up to, so including the whole thread to date
each time is a waste of everyone's time. Keep just enough that we know
what you're replying to. Be aware that overquoting is something for
which TeamBers are permitted to cancel posts, even if they're normally
too cuddly to consider so doing.
</rant>

>Blast, I still got it wrong...
>
>val =  *(RomCode + i) & (1 << (b % 8));

This is more conventionally written as 

  val = RomCode[i] & (1 << (b % 8));

Certainly, the compiler will, unless totally broken, generate the same
code.

Alan Bellingham
-- 
ACCU Conference 2006 - 19-22 April, Randolph Hotel, Oxford, UK
Technical Details
Message-ID: <rdjij19ghqeeuvj16k7irogmimfeqhitem@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43370a81@newsgroups.borland.com> <4337b0dd$1@newsgroups.borland.com> <4337e343@newsgroups.borland.com> <4337fdd8@newsgroups.borland.com> <4338f3fe$1@newsgroups.borland.com> <433937cc@newsgroups.borland.com> <43393a2d@newsgroups.borland.com> <43393ace@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,6ea8b2c4d2578842
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alan Bellingham <alanb@episys.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Another delphi translation please!
Date: Tue, 27 Sep 2005 14:56:38 +0100
Reply-To: alanb@episys.com
Message-ID: <rdjij19ghqeeuvj16k7irogmimfeqhitem@4ax.com>
References: <43370a81@newsgroups.borland.com> <4337b0dd$1@newsgroups.borland.com> <4337e343@newsgroups.borland.com> <4337fdd8@newsgroups.borland.com> <4338f3fe$1@newsgroups.borland.com> <433937cc@newsgroups.borland.com> <43393a2d@newsgroups.borland.com> <43393ace@newsgroups.borland.com>
X-Newsreader: Forte Agent 3.0/32.763
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 193.129.251.253
X-Trace: newsgroups.borland.com 1127829287 193.129.251.253 (27 Sep 2005 06:54:47 -0700)
Lines: 25
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail