I
I
Ilya Evseev2022-01-06 16:36:05
Pascal
Ilya Evseev, 2022-01-06 16:36:05

What is the best Turbo Pascal tutorial?

We are looking for a Turbo Pascal textbook with the following mandatory characteristics:

- it must be a paper book available for purchase (unfortunately, an electronic book is not suitable, a home-made printout is not suitable)
- to work with it, free access to a computer and the Internet should not be required (ie. e. how it was customary to work with programming textbooks before the ubiquity of computers and the Internet).

It is also desirable that:

- it be on official sale (i.e., so that you can buy it with a receipt)
- it describes TP 7.0, although 6.0 or 5.5 will also do (remakes like PascalABC.net or FreePascal are less preferred)
- this there was not a clean textbook, but a textbook + problem book + reference book

The best that I have found so far:
"Programming in Turbo Pascal 5.0 Description of the language in 2 volumes"
https://www.ozon.ru/product/programmirovanie-v-tur...
Unfortunately, this is 5.0, i.e. it has no OOP.

The best I've ever read on this topic: the
official Borland documentation on Turbo Pascal 7.0.
It is available in electronic form, but not in paper form, because it was sold only (?) As part of official distributions as an attachment to floppy disks.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rPman, 2022-01-06
@rPman

Do you want to mock someone or is this process already underway on you?
The 7th version of TP was released in 1994, almost 30 years ago, books on it should probably fall into the category of historical artifacts and be traded with collectors, but give you checks?
Here they will sell it with a check, but this is boo without a floppy disk, which is logical, there is another one there
ps I don’t know who said that learning to program on paper has any benefit and efficiency? for me it's so utter stupidity, here to teach programming based on high-level languages ​​and frameworks - yes, it's dangerous and harmful, but this is another
upd. there are services that will make a paper book out of an e-book - google: printing a book one copy (prices are about 2-3 tr, maybe less, you have to look)
offices involved in photocopying with a high probability can print and book as you like, they generally get a penny

O
OCTAGRAM, 2022-01-06
@OCTAGRAM

Why is this deprecated OOP so necessary? It seems to me that the times when writers reached the infrastructure of commercial printing and effective demand were the times when it was reliably known that development later (in Delphi) took a different path. It made sense to write about the eternal, about records and arrays, but not about abandoned OOP. In Delphi 7, if you write object, it's a warning.
You can do OOP tasks for Delphi in the old syntax.
The names of the old classes have value semantics, and if you need to work with a pointer, then you need to explicitly specify the pointer in the type name. Where in Delphi TList, there in TP7 PList = ^TList. New for regular pointers has been extended for objects by constructor invocation. And Dispose had a similar extension. This is instead of Create and Destroy. You cannot take a pointer to a callback method. Objects don't have a forced common root like TObject, so polymorphic things like TList work with Pointer. There are no implicit metaclasses, so no TClass and no class of. There are no properties.
Extended syntax {$X+}, as far as I remember, allows you not to dereference pointers to records when accessing their fields, and this applies to methods too, so there won't be too many extra carriages in the text.
The absence of exceptions in the language leaves such an imprint that it is difficult to write a constructor without exceptions, and in order to overcome this, the Fail pseudo-procedure has been added, which you should read about.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question