Sign in Join
Wiki copytemporary

Revision 1 of 2, by WikiArchive on 11-4-2026. The page as it is now.

Basic Pascal Tutorial/Print version

Introduction

History of Pascal

Pascal Compilers

Hello, world

<center>

<big><b>1. Chapter

Basics</b></big>

</center>

Program Structure

Identifiers

Constants

Variables and Data Types

Assignment and Operations

Standard Functions

Punctuation and Indentation

Programming Assignment

Solution

<center>

<big><b>2. Chapter

Input/Output</b></big>

</center>

Input

Output

Formatting output

Files

EOLN and EOF

Programming Assignment

Solution

<center>

<big><b>3. Chapter

Program Flow</b></big>

</center>

Sequential control

Boolean Expressions

Branching

Looping

Programming Assignments: Fibonacci Sequence and Powers of Two

Solutions

<center>

<big><b>4. Chapter

Subprograms</b></big>

</center>

Procedures

Parameters

Functions

Scope

Recursion

Forward Referencing

Programming Assignment: the Towers of Hanoi

Solution

<center>

<big><b>5. Chapter

Data types</b></big>

</center>

Enumerated types

Subranges

1-dimensional arrays

Multidimensional arrays

Records

Pointers

<center>

<big><b>6. Chapter

Final words</b></big>

</center>


From the Free Pascal wiki, page "Basic Pascal Tutorial/Print version", as it stood on 2023-03-05 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.