I use Borland Pascal 7.0 for the code. If you using other compiler,
say, Microsoft QuickPascal, you may do a slight modification. Still, you
cannot review the Borland-specific lesson, like using BGI and so on. However,
the concepts is all the same. Don't worry. I plan to divide the tutorial
into 4 courses :
It tells you about the basic structure, branches (if,case..of),
constants, loops (for, while..do, repeat..until), procedures
and functions, arrays, records, string manipulation, enumerated types,
sets, get the most of crt unit, making custom unit, text, typed,
and untyped files.
Download lesson 1
It's all about pointers, all types linked-lists (single, double, circular,
multidimensional, tree), using Borland Graphic Interface (BGI), printer
unit, overlaying, register and interrupt concepts, the rest of DOS unit,
I/O port and concepts, combining Pascal and Assembler (internally or externally),
and the basics of protected mode programming.
Download lesson 2
Lesson 3 is about Object Oriented Programming
(OOP) in Pascal.
Contains all the basics of OOP concepts, encapsulation, inheritance,
polymorphism, and virtual methods. The OOP methodology is explained with
two working examples, Turbo Vision tutorial is here too for
6 chapters. After Turbo Vision tutorial, you can view one example
in OOP assimilated to Turbo Vision so that you can compare it vis-a-vis.
There is some of low level programming and a mild introduction to
Windows programming. No, It's not done yet, but it's worth a look.
Four more chapters to go.
Teaches all sort of things of programming in Windows.
I have done all of the lesson 1 and 2 only. You can download it. You can view
it on-line. All chapters are viewable on the net.
NEW! NEW! I just made some migration tutorials for Pascal to Java. These tutorials are intended to give a blitz knowledge for seasoned Pascal programmers who want to learn Java. It is divided into two parts:
Part 1: Discusses standard feature comparisons, such as variable declarations, ifs, cases, whiles, arrays, and structures.
Part 2: Discusses even more: Imports, command line arguments, accessing files, pointer/references, and some basic OOP features.