Part-Way Down the Road with Partial Pascal

See all articles from T-S Horizons n18
Author(s): Tex Faucette
Publication: T-S Horizons
Pub Details: T-S Horizons n18 (Issue 18)
Date: April 1986
Pages: 22-23

Partial Pascal from Semper Software (585 Glenn Ellyn Place, Glenn Ellyn, Illinois 60137) was the subject of an earlier review. This is a follow-up which includes a book review plus other “adventures” with Partial Pascal.

First, the book:

“FROM BASIC TO PASCAL” by Ronald W. Anderson. Copyright 1982 by Tab Books, Inc., Blue Ridge Summit, PA 17214. ISBN 0-8306-1466-4 (pbk).

Ronald W. Anderson is “my kind” of writer, and FROM BASIC TO PASCAL is “my kind” of book! Read on.

In the authors own words the book, “..has been prepared primarily for those with a knowledge of Basic and little or no formal training in Computer Science. ” That fits. Later on he states, “[you] may be annoyed by the compiler being so picky “. On the subject of compilers he also notes that, “..by the time you have gotten your Pascal Program to compile without any detected errors, it is pretty close to running (though not necessarily correctly).”

AMEN, Brother, tell it like it is!

Heeding those and other warnings, I proceded to apply Mr. Andersons text and programs to Partial Pascal… or was it vice-versa? Whatever, the results of my excursions were interesting, informative, frustrating, educational, and just plain fun. Successful? Well, maybe.

Since the book had made some mention of the variety of compilers available, and variety of results they sometimes yielded, it as not really a surprise to me when Partial Pascal detected errors where none were visible. Or that supposedly error-free object code occasionally behaved in a strange manner. The big surprise, and a pleasant one, was when one of the sample programs actually worked…I think.

Bear in mind that I am a bottom-of-the-ladder novice in Pascal. Bear also in mind that I have avoided higher mathematics like a plague for more years than I care to remember. Now, imagine my elation when I obtained both a compilation and an execution of a prime seive program! Sure, I got it out of the back of the book, so what? I still had to translate it to Partial Pascal! Listing and Print-out are submitted with this review.

PRIMESIV Partial Pascal listing
PRIMESIV Partial Pascal listing
Print-out: primes to 50 and to 1000
Print-out: primes to 50 and to 1000

The “source code” compiled rapidly, once I got it right. Sorry, I was too excited to time it exactly. Execution of the “object code” was timed fairly accurately. Primes to 1000 was done (on screen) in 30 seconds. Same operation to Timex 2040 printer took 4 seconds. Going for primes to 2000, I had it on screen (304 primes) in 55 seconds and I learned that I need a better understanding of proper formatting when I ported the same to the printer. OH well, back to the drawing board.

All jokes aside, PARTIAL PASCAL remains interesting, and FROM BASIC TO PASCAL is the best tutorial I have found to date. Thanks guys, I have enjoyed the experience.