🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #259

Re: Arithmetic operation with cardinal

#259
From: Dr John Stockton
Date: Sat, 17 May 2003 13:42
18 lines
1997 bytes
JRS:  In article <Xns937D9C6A53A4Bbudmanbr@130.133.1.4>, seen in
news:comp.lang.pascal.delphi.misc, BuDMaN <me@privacy.net> posted at
Fri, 16 May 2003 18:22:33 :-
>
> I'm getting a weird 'Integer overflow' error when I try to do the 
>following arithmetic operation with a cardinal:

Under discussion in borland.public.delphi.language.objectpascal.

Typecasting and perhaps a BSWAP call should be better anyway.

*** DO NOT MULTIPOST ***
 
-- 
� John Stockton, Surrey, UK.  jrs@merlyn.demon.co.uk   Turnpike v4.00   MIME. �
 Web  <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
 For news:borland.*, use their server newsgroups.borland.com ; but first read 
 Guidelines <URL:http://www.borland.com/newsgroups/guide.html> ff. with care.
Technical Details
Message-ID: <VoU5WXJ$wjx+Ew4E@merlyn.demon.co.uk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!kibo.news.demon.net!news.demon.co.uk!demon!merlyn.demon.co.uk!spam
References: <Xns937D9C6A53A4Bbudmanbr@130.133.1.4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 109d30,649acf4c4e9c4dd7
X-Google-Attributes: gid109d30,public
X-Google-Thread: 10baee,f5e22a2343248a16
X-Google-Attributes: gid10baee,public
X-Google-ArrivalTime: 2003-05-17 07:23:52 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!kibo.news.demon.net!news.demon.co.uk!demon!merlyn.demon.co.uk!spam
From: Dr John Stockton <spam@merlyn.demon.co.uk>
Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi.language.objectpascal
Subject: Re: Arithmetic operation with cardinal
Date: Sat, 17 May 2003 14:42:23 +0100
Organization: Home, 'Surrey', UK
Lines: 18
Message-ID: <VoU5WXJ$wjx+Ew4E@merlyn.demon.co.uk>
References: <Xns937D9C6A53A4Bbudmanbr@130.133.1.4>
Reply-To: Dr John Stockton <reply@merlyn.demon.co.uk>
NNTP-Posting-Host: merlyn.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.demon.co.uk 1053181432 19504 158.152.233.145 (17 May 2003 14:23:52 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Sat, 17 May 2003 14:23:52 +0000 (UTC)
X-Newsreader: Turnpike (32) Version 4.00  <FaPHOaas0ellLCXbR0oIxSiVaE>