🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.org.acm
Article #337

Re: Turbo the standard? I think not.

#337
From: David Shackelford
Date: Wed, 08 May 1991 04:52
29 lines
2058 bytes
In article <?.bGejk$1@cs.psu.edu> hvozda@mirkwood.endor.cs.psu.edu (Eric S Hvozda) writes:
>
>Turbo is NOT standard.  Since when is a ELSE on a CASE statement standard?
>If one knows standard PASCAL, turbo is nothing.  BTW, the type STRING(n) 
>is not standard either.  The standard way is PACKED ARRAY [1..x] OF string
>where string = PACKED ARRAY [1..n] OF CHAR;  What is the reasoning behind
>saying that Turbo is the standard?  Given it is used widely, but wide usage
>does not make a standard.

I didn't mean to say Turbo is standard, merely that it should be.

Else on a case statement -- case is useless to me without it.  I
assume that the standard doesn't have anything like C's "default".

String in the Turbo syntax is much simpler to use and easier to
read.  What's a "packed array"?  Why go to the bother of defining
your own string if the implementation gives you one?  Can you
concatenate standard pascal "Strings"?  How 'bout deleting from
the middle of a string, inserting into the middle, and searching
for a substring?  I honestly don't know, because I gave up and
moved to a different language for Unix long ago.

I didn't learn Turbo Pascal from a college class, I learned it
on my PC at home.  Every time I try to write a standard Pascal 
program on Unix I find something that Turbo does but standard
doesn't.  I haven't tried much standard Pascal because it's
too frustrating -- I do it in C instead. 

Dave  |   Turbo user since 1.0
Technical Details
Message-ID: <1497@caslon.cs.arizona.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!caen!news.cs.indiana.edu!arizona.edu!arizona!shack
References: <1991May3.150303.22506@mcs.kent.edu> <6X3B-PB@xds13.ferranti.com> <1494@caslon.cs.arizona.edu> <?.bGejk$1@cs.psu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!caen!news.cs.indiana.edu!arizona.edu!arizona!shack
From: shack@cs.arizona.edu (David Shackelford)
Newsgroups: comp.org.acm,comp.lang.pascal
Subject: Re: Turbo the standard?  I think not.
Message-ID: <1497@caslon.cs.arizona.edu>
Date: 8 May 91 04:52:56 GMT
References: <1991May3.150303.22506@mcs.kent.edu> <6X3B-PB@xds13.ferranti.com> <1494@caslon.cs.arizona.edu> <?.bGejk$1@cs.psu.edu>
Followup-To: comp.org.acm
Organization: U of Arizona CS Dept, Tucson
Lines: 29