Article View: net.lang.pascal
Article #145Re: Turbo Pascal (bugs)
From: John L. Templer
Date: Sun, 03 Feb 1985 01:25
Date: Sun, 03 Feb 1985 01:25
32 lines
1840 bytes
1840 bytes
> I have found a couple of bugs in Turbo Pascal on an IBM PC-clone running
> MS-DOS. I define these as bugs, since the same code works on the campus
> DEC-20 (not a good standard, I know, but it's what I have to work with).
.
.
.
> 1) If a ';' is incorrectly places before a keyword, the compiler will
> not complain. However, when that section of code is executed,
> a memory error is generated and a system halt is performed.
> This requires a re-boot.
>
> Example : if condition then
> begin
> statement1;
> statement2;
> end; <-- explodes here when run
> another_statement;
I seem to be confused; I can't find any errors in the example given.
The semicolon between "statement2" and "end" is not needed, but it is
not an error. Are you sure it is not something else causing the memory
error?
--
John L. Templer
University of Texas at Austin
{allegra,gatech,seismo!ut-sally,vortex}!ut-ngp!lindley
"and they called it, yuppy love."
Technical Details
Message-ID:
<1270@ut-ngp.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!ut-sally!ut-ngp!lindleyReferences:
<247@nmtvax.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ut-ngp.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!ut-sally!ut-ngp!lindley From: lindley@ut-ngp.UUCP (John L. Templer) Newsgroups: net.lang.pascal Subject: Re: Turbo Pascal (bugs) Message-ID: <1270@ut-ngp.UUCP> Date: Sat, 2-Feb-85 20:25:09 EST Article-I.D.: ut-ngp.1270 Posted: Sat Feb 2 20:25:09 1985 Date-Received: Mon, 4-Feb-85 04:55:37 EST References: <247@nmtvax.UUCP> Organization: U.Texas Physics Department; Austin, Texas Lines: 32 Keywords: Bugs, semi-colon