Anders Tornblad

All about the code

"Hello, World!" in Pascal

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

program HelloWorld; begin WriteLn('Hello, World!'); end.

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 actually 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.

I think I need to add Pascal definitions to my code formatting script...

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

Add a comment


  • Gravatar Johan Karlsson wrote :

    Ah Pascal! It was what got me into programming. I took a programming class in highschool where we used Turbo Pascal on 286 machines. Sweet memmories. :)
    I was told that my Pen "Lissajous Curves" is identical to something included in the Turbo Pascal code examples. Do you remember? (I don't.)