🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.borland
Article #284

Re: RTE200 - not Delay!

#284
From: Dr John Stockton
Date: Mon, 14 Jun 1999 00:00
24 lines
1616 bytes
JRS:  In article <7k34er$qcn$1@nnrp1.deja.com> of Mon, 14 Jun 1999 
14:43:42 in news:comp.lang.pascal.borland, Robert AH Prins
<prinsra@williscorroon.com> wrote:
>const
>  a: longint = $80000000;
>  b: longint = -1;
>
>begin
>  writeln(a div b);
>end.
>
>Any clues as to how to get rid of this one?

(a) Change the - into a +  --- any change to b will remove the problem. <g>

(b) Using Delphi 4, "type longint = int64 ;" (I think).

(c) Use a multi-length package.
 
-- 
 � 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.
  Correct 4-line sig. separator is as above, a line precisely "-- " (SoRFC1036)
  Do not Mail News to me.    Before a reply, quote with ">" or "> " (SoRFC1036)
Technical Details
Message-ID: <TRPqJ2A5zUZ3EwP1@merlyn.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7k34er$qcn$1@nnrp1.deja.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111659,9ab1c9cdd12e03da
X-Google-Attributes: gid111659,public
X-Google-Thread: 108ebd,9ab1c9cdd12e03da
X-Google-Attributes: gid108ebd,public
From: Dr John Stockton <jrs@merlyn.demon.co.uk>
Subject: Re: RTE200 - not Delay!
Date: 1999/06/14
Message-ID: <TRPqJ2A5zUZ3EwP1@merlyn.demon.co.uk>
X-Deja-AN: 489616578
Content-Transfer-Encoding: 8bit
X-NNTP-Posting-Host: merlyn.demon.co.uk:158.152.233.145
References: <7k34er$qcn$1@nnrp1.deja.com>
Content-Type: text/plain;charset=iso-8859-1
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 929399646 nnrp-02:12005 NO-IDENT merlyn.demon.co.uk:158.152.233.145
Organization: Home, Surrey, UK
MIME-Version: 1.0
Newsgroups: comp.lang.pascal.borland,borland.public.turbopascal