Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!psuvax1!mirkwood!hvozda From: hvozda@mirkwood.endor.cs.psu.edu (Eric S Hvozda) Newsgroups: comp.org.acm Subject: Re: Turbo the standard? I think not. Message-ID: Date: 8 May 91 15:14:41 GMT References: <1494@caslon.cs.arizona.edu> <1497@caslon.cs.arizona.edu> Sender: news@cs.psu.edu (Usenet) Organization: Penn State Computer Science Lines: 39 Nntp-Posting-Host: mirkwood.endor.cs.psu.edu Well I always had to use: IF condition_not_in_the_case THEN do_what_the_else_would_have ELSE case_here >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 PACKED ARRAY is to tell the complier to nake the best use of the machines memory. It certian cases like that of an array of BOOLEAN, it would normally put one bit per word of storage, but with PACKED, it tells it to use all the bits in each word. However, a trade off of a greater execution time may result. >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. You end up writing all the funtions yourself. :( I hate it. Infact I once had to write a string function package for a class. It was NOT fun. There are many things I wish Standard had, but it doesn't. TURBO has these things, but most machines I work on does not have TURBO. I guess it all depends upon your situtation. >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. I am trying C now myself. There are time when I find it just as frustrating as you find TURBO <-> STANDARD PASCAL. If we keep at it, we will get it :) -- Ack! esh101@psuvm.psu.edu ESH101@PSUVM hvozda@vivaldi.psu.edu hvozda@endor.cs.psu.edu DoD #0217