[Note: I’ve released a new rev of the book as of 11-11-2025, and that’s what the link below will fetch for you.]
I fixed a raft of typos and other minor issues in my free PDF ebook FreePascal from Square One, and I uploaded it to my WordPress instance at this URL:
http://www.contrapositivediary.com/wp-content/uploads/2025/11/FreePascalFromSquareOne-11-11-2025.pdf
This link is present above, and also at the end of my WordPress page entitled, “My Currently Available Books.” Click the link and download the PDF. It’s a biggie, as a 354-page PDF probably has to be, at 5.7 megabytes.
The big win in this release is that it has a clickable TOC for the whole book in a window to the left of the page display itself. So no matter where you are in the book, you can click a different chapter title shown in the TOC window (which lists all of them) and be there with that one click.
I didn’t create this TOC, though I realize now I’d better learn more about PDF internals and how to create and change them. No, Contra reader Robert Riebisch built the TOC for me and installed it into the most recent release, which I edited a little this morning and present to you as the update for 9-13-2025.
As an aside: Are there any recommendations for a solid technical book on creating and changing PDF files?
For those who haven’t heard about the book before: It’s a distillation of (almost) all my books on Pascal, from Complete Turbo Pascal in 1985 to Borland Pascal 7 from Square One in 1993. (The only book I didn’t draw from was Turbo Pascal Solutions, published in 1988 and mostly about DOS-specific tricks with Turbo Pascal 3.0.)
I released the book under the Creative Commons Attribution-Share Alike 3.0 license. What this means is that it really and truly is a free ebook. You can pass it around, post it on your site, give it to anybody who wants it. I have suggested it to homeschooling parents and college kids and many others. It’s an intro not simply to Pascal but to the ideas behind programming itself. The FreePascal compiler is free, so given that I’ve long since made decent money on those books, I decided to make the book free too.
The book uses the Lazarus IDE that comes with FreePascal for editing and debugging, but note well that it doesn’t cover GUI programming with Lazarus. The example programs, when run, display output as text in a console window. I have begun a book on GUI programming with Lazarus, but that requires knowledge of object-oriented programming, which I just didn’t have room to cover in FreePascal from Square One.
So it’s there. Go get it. Let your Pascal-writing friends know about it, and pass it along. It’s free, and always will be.











