Pascal Programming Language Definition - V2 Cloud

What Is the Pascal Programming Language?

Beginner, Web/Development

The Pascal programming language is a compiled, strongly typed, structured programming language designed by Swiss computer scientist Niklaus Wirth and published in 1970. It was created to teach clean programming habits, and its descendants (Object Pascal, Delphi, and Free Pascal) still power business software today.

Wirth named it after Blaise Pascal, the 17th-century French mathematician who built one of the first mechanical calculators.

Who Created Pascal and Why?

Niklaus Wirth designed Pascal at ETH Zurich after leaving the international committee working on a successor to ALGOL 60. The committee favored an ambitious, highly flexible language (it became ALGOL 68). Wirth wanted something smaller and stricter.

He built ALGOL W at Stanford first, then designed Pascal purely to his own taste back in Switzerland. In his retrospective 50 Years of Pascal, published in Communications of the ACM, he explains that what he removed from ALGOL mattered as much as what he added. Rarely used, hard-to-compile features went out. Records, while and repeat loops, and strict data types came in.

ETH Zurich used it in large introductory courses from the start. Other universities soon asked for compilers of their own.

How Does the Pascal Programming Language Work?

Pascal is an imperative language built around structured programming and static typing. Every variable has a declared type, and the compiler checks types before the program runs. That catches a whole category of bugs at compile time instead of in production.

Its defining features:

  • Strong, static typing. Integers, reals, Booleans, characters, enumerations, arrays, records, sets, files, and pointers all have fixed types the compiler enforces.
  • Structured control flow. Code lives in begin and end blocks with if, case, while, repeat, and for statements.
  • Procedures and functions. Both support recursion, with value parameters (a copy) and var parameters (a reference).
  • Readable syntax. Assignment uses :=, and keywords read almost like plain English.
  • Compiled code. Source becomes machine code (or, historically, portable p-code), so programs start fast and use little memory.

Like most classic desktop software, a Pascal program is written, compiled, and shipped as an executable.

Pascal Programming Language Examples

The classic first program:

pascal
program HelloWorld;
begin
  writeln('Hello, world!');
end.

A slightly more realistic one, using a record type and a loop:

pascal
program AverageScore;

type
  TStudent = record
    Name: string;
    Score: Integer;
  end;

var
  Students: array of TStudent;
  i, Total: Integer;

begin
  Students.Name := 'Ana';   Students.Score := 88;
  Students.Name := 'Ben';   Students.Score := 74;
  Students.Name := 'Chloe'; Students.Score := 93;

  Total := 0;
  for i := 1 to 3 do
    Total := Total + Students.Score;

  writeln('Class average: ', Total / 3 :0:1);
end.

Every variable is declared up front with its type. Write Total := 'ninety'; and the compiler refuses to build the program. Both examples compile in Free Pascal (the string type is a Turbo Pascal and Delphi extension, not part of the original 1970 standard).

How Did Pascal Become So Popular?

Portability came first. Wirth’s team compiled the Pascal programming language to a simple hypothetical machine language called p-code, so moving Pascal to a new computer only required a small interpreter. Java’s bytecode later used the same idea (see our Java definition).

Three milestones made it mainstream:

  1. UCSD Pascal. The University of California, San Diego packaged p-code Pascal with its own operating system for early microcomputers, including the Apple II.
  2. Turbo Pascal (1983). Borland, with compiler author Anders Hejlsberg, sold a fast compiler and editor on a floppy disk for about $50.
  3. Apple. Much of the original Lisa and early Macintosh software was written in Pascal, and Apple created Object Pascal in the mid-1980s to add object-oriented features.

The U.S. AP Computer Science exam used Pascal from 1984 until it moved to C++ at the end of the 1990s. Wirth received the Turing Award in 1984.

Timeline showing Pascal Programming Language 1970, UCSD Pascal, Turbo Pascal 1983, Object Pascal, Delphi 1995, Free Pascal and Lazarus

What Are the Main Pascal Dialects?

Dialect or tool Arrived Who built it What it added Status in 2026
Standard Pascal 1970 Niklaus Wirth, ETH Zurich Strong typing, records, structured control flow Teaching and reference (ISO 7185)
UCSD Pascal Late 1970s UC San Diego P-code portability, its own OS Retired
Turbo Pascal 1983 Borland (Anders Hejlsberg) Fast compiler plus editor in one cheap package Retired, dialect lives on
Object Pascal Mid-1980s Apple, later Borland Classes, objects, inheritance Core of Delphi and Free Pascal
Delphi 1995 Borland, now Embarcadero Visual tools for building Windows® apps Commercial, actively developed
Free Pascal + Lazarus 1990s onward Open source community Cross-platform compiler and free visual IDE Open source, actively maintained

Whatever Happened to Pascal?

The Pascal programming language faded from the spotlight for three reasons.

C won systems programming. Unix and most later operating systems were written in C. Brian Kernighan’s 1981 essay “Why Pascal Is Not My Favorite Programming Language" argued that Standard Pascal was too restrictive for serious work.

Dialects fragmented. Standard Pascal (ISO 7185, 1983) was small, so every vendor added its own extensions, and code stopped moving cleanly between compilers.

Schools switched. Once classrooms moved to C++, then Java and Python, fewer new programmers learned Pascal.

Is the Pascal Programming Language Still Used Today?

Yes, mostly through its descendants.

Borland released Delphi in 1995, combining Object Pascal with a visual form designer for Windows. Small software vendors used it to build accounting packages, medical practice software, point-of-sale systems, and industrial tools, and early versions of Skype®’s Windows client were written in Delphi. Embarcadero still sells and updates Delphi, and Delphi/Object Pascal spent much of 2026 hovering around the top 10 of the TIOBE popularity index.

On the open source side, the Free Pascal compiler supports Turbo Pascal and Delphi dialects on Windows, Linux, macOS, and more. Its companion IDE, Lazarus, offers a free Delphi-style visual designer.

Wirth went on to create Modula-2 (1979) and Oberon (1988). He died on January 1, 2024.

For beginners, the Pascal programming language is still a clean way to learn structure and types, though Python is the more practical first choice for most careers. For anyone maintaining Delphi code at an independent software vendor, an accounting firm, or a manufacturer, Object Pascal skills remain valuable and scarce.

Pascal and Delphi Applications in the Cloud

Much of the Pascal programming language’s real-world footprint today is legacy Windows software built as desktop or client-server applications. These apps expect a local install and a shared database on an office server, which gets hard to manage once teams go remote or open new branches.

Rewriting them as web apps can take years. At V2 Cloud, we host Windows applications like these on managed cloud desktops and servers, so they run unchanged while users connect securely from any device, with daily automated backups protecting the data. That is often the fastest first step in application modernization. Vendors who built their product in Delphi can also deliver it as a cloud service through our ISV program.

Still running a Pascal-era application on an office server? See how it would run as a hosted app.

Explore application hosting

Related Terms

Back to all categories
Back to top

Still have questions?

Let us help you find the solution that fits your business.

Schedule a call
Your V2 CloudCare team — real people, on the line.
On a call now34s avg. pickup
SL FC AR MK +6

Your V2 CloudCare team — real people, on the line.