"Hello, World!" in Pascal

#hello-world #pascal

Written by Anders Marzi Tornblad

How to do "Hello, World!" in Pascal.

(* hello-world.p *)
program HelloWorld;
    WriteLn('Hello, World!');

Pascal was one of the first computer languages I learned, back in the late 1980s and early 1990s. The Borland Turbo Pascal compiler was really fast, and I once took a university course in Computer Science, where we wrote code in Pascal on Macintosh computers. This was in 1996. A few years later, I had the opportunity to try Delphi 8 (Octane), which among other things had an immensly superior "Intellisense" solution.

For more "Hello, World!" examples, go to the Hello World category.