🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Run time error: Division by zero???

#575
From: Bernd Heutling
Date: Thu, 11 Sep 1997 00:00
32 lines
2023 bytes
Martin Bergman wrote:
> 
> Hi!
> 
> I'm posting this question for a friend of mine. Recently he bought an
> original release of Turbo Pascal 7.0 for DOS for his PC running
> Windows 95. The installation of the programs is straightforward and
> without any problems. At least so it seems. When he tries to run
> the following very small program unexpected things happen.
> 
> PROGRAM Dummy;
> USES Crt;
> BEGIN
>    Writeln 'Hello world';
> END.
> 
> Compiling and building the executable are also without problems.
> But when he tries to run the program in most cases he will get
> the run time error message:
>   Run time error: Division by zero.
> 
> To make things even stranger, sometimes the execution of the program
> produces 'Hello world', as expected.
> Of course when the Crt line is omitted the program executes as it
> should.

That should be the P200 / P200II RTE200-Bug. Get yourself some of 
the patches for the CRT-unit which are available on the internet 
(sorry, perhaps some else knows _where_ to get them).

Bernd
Technical Details
Message-ID: <34184DA5.79CA@mbox.ikph.uni-hannover.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <5v3evd$in5@news01.uni-trier.de> <34164289.4264001@news.bernoise.ch> <5v6g2e$h46$1@trunk.wins.uva.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd1d1,1b964d2586c50e55
X-Google-Attributes: gidfd1d1,public
X-Google-Thread: 111659,1b964d2586c50e55
X-Google-Attributes: gid111659,public
X-Google-Thread: 16d617,1b964d2586c50e55
X-Google-Attributes: gid16d617,public
X-Google-Thread: 111005,1b964d2586c50e55
X-Google-Attributes: gid111005,public
X-Google-Thread: 10843a,1b964d2586c50e55
X-Google-Attributes: gid10843a,public
From: Bernd Heutling <Heutling@mbox.ikph.uni-hannover.de>
Subject: Re: Run time error: Division by zero???
Date: 1997/09/11
Message-ID: <34184DA5.79CA@mbox.ikph.uni-hannover.de>
X-Deja-AN: 271569357
References: <5v3evd$in5@news01.uni-trier.de> <34164289.4264001@news.bernoise.ch> <5v6g2e$h46$1@trunk.wins.uva.nl>
Organization: RRZN - Newsserver
Reply-To: Heutling@mbox.ikph.uni-hannover.de
Newsgroups: comp.lang.pascal.borland,de.comp.lang.pascal,swisslink.pascal,zer.z-netz.sprachen.pascal,ch.general