Xref: utzoo comp.org.acm:132 comp.lang.pascal:6613 Path: 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> Followup-To: comp.org.acm Organization: U of Arizona CS Dept, Tucson Lines: 29 In article 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