Getting Started with Pascal
Install Free Pascal on Windows or Linux, write Hello World, then learn how a Pascal program is put together, comments and arithmetic included.
Articles
Getting to Know the Pascal Language
Pascal is a programming language with a simple, expressive, and readable syntax. That makes it a good first language for beginners.
Input with Read and Readln in Pascal
This time you'll learn how keyboard input works with the read and readln commands in Pascal.
Installing Free Pascal on Linux
To run Pascal code you need a compiler. This time we'll use Free Pascal as both our compiler and our code editor.
The Parts and Structure of a Pascal Program
Like a letter that runs from the letterhead to the signature, Pascal code has writing rules and a structure it has to satisfy. Here is what goes where.
Writing Comments in Pascal
This time we'll cover how to write comments in Pascal. A comment is the part of the code the computer never reads.
Output with Write and Writeln in Pascal
Output matters in programming, and not only there: every process is judged by what it produces. This is how Pascal puts text on the console.
Variables, Constants, and Data Types in Pascal
Variables, constants, and data types are the heart of programming: they're what you use to manipulate data.
Arithmetic Operations in Pascal
Once you know what a data type is, the next question is which operations each type allows. Here is the answer for Pascal, type by type.
Installing Free Pascal on Windows
To run Pascal code on Windows you need a compiler. This time we'll use Free Pascal as both our compiler and our code editor.
Writing Your First Hello World Program in Pascal
With Free Pascal installed on Windows or Linux, it's time for your first program, plus a quick look around the Free Pascal IDE.