PP4S Home Page

Welcome to the PP4S Website!

The aim of the website is to provide valuable, but free, resources to help promote Pascal programming in schools by sharing ideas, knowledge and experience. We welcome contributions and feedback on the site. Please let us know what you think.

We advise most beginners to:
  1. follow the instructions on Getting Started with Lazarus or our section on Getting Started with Delphi;
  2. start to work through the first few tutorials in the order shown in the left panel of the tutorial contents page;
  3. look at the student programs, starting with the more straightforward ones at the beginning of the table and also the first few using the Crt unit.
Note: We invite adventurous beginners to learn Smart Pascal in the Smart Mobile Studio IDE before learning traditional Pascal. We also encourage confident Pascal programmers to use Smart Mobile Studio to develop applications for web pages. Experienced Pascal programmers should also be able to write applications, applets and Android apps in another Pascal dialect, Oxygene for Java, with the help of our tutorial.

New! We are delighted to present an audiovisual game inspired by George Orwell's Nineteen Eighty-Four. It is a collaboration with the Smart Pascal programming by Dom and pixel art by Luke, a new contributor. Play the game to bring back memories of the book.

We have used the Blockly JavaScript API to develop an online application that generates Smart Pascal code from Blockly blocks. This should help youngsters to progress from environments such as Scratch to text-based programming. We now provide full details of some tests covering all fifty of the blocks and have sufficient demonstration programs to enable beginners to get started. In many of these pages you can compare the Smart Pascal with JavaScript and Python generated from the same blocks using the Blockly Playground. We look forward to contributions of Blockly programs from students.

In the preceding update we provided a lightweight Smart Pascal application demonstrating the display of HTML5 input widgets in order to draw your attention to current developments reported by the Smart Pascal community in their forum. We demonstrate also how you can use lightweight applications to access the Document Object Model and to inspect readily the JavaScript resulting from your Smart Pascal code.

We extended the Challenges section with categorised links and introductory material to the highly instructive DelphiForFun website, which provides detailed descriptions of a wide range of problems and thoroughly explained Delphi solutions.

Site Statistics May 2017

The site contains among its twelve hundred pages:

  • Nearly 400 pages of tutorial material for Pascal, around 100 each for Smart Pascal (using the Smart Mobile Studio IDE) and Oxygene for Java;
  • About 100 student programs spread over roughly 300 pages;
  • More than 100 on-line Smart Pascal programs;
  • Nearly 100 pages of resources such as the Getting Started series;
  • About 30 pages of challenges such as suggestions for programs, programs to complete and programs to debug;
  • A Pascal general index with nearly 400 terms linked to relevant pages
  • A Pascal index of routines with links to examples of the use of nearly 400 procedures/functions;
  • An Oxygene for Java general index with about 150 terms linked to relevant pages;
  • An Oxygene for Java routine index with links to examples of the use of nearly 200 methods;
  • A Smart Pascal general index with around 300 terms linked to relevant pages
  • A Smart Pascal routine index with links to examples of the use of nearly 200 procedures/functions.

On May 7, the top ten user countries and their percentages of visits over the previous 30 days were reported by Google Analytics to be: United Kingdom (11.71%), United States (10.32%), Germany (6.91%), Brazil (5.32%), Russia (4.02%), Indonesia (3.58%), India (3.25%), Australia (2.72%) Italy (2.34%) and France (2.25%). During the same period the ten most frequently visited tutorial/resource pages were reported to be:

  1. C# Firebird Demonstration (.Net)
  2. Writing your First Pascal Program using Lazarus
  3. Delphi Canvas Demonstration
  4. Let's build a compiler!
  5. Drawing on a PaintBox
  6. Using a DBGrid in Delphi
  7. Using a DBGrid in Lazarus
  8. Python to Pascal
  9. Using a String Grid
  10. Displaying Data in a Chart

The top ten most viewed pages of student programs were reported to be:

  1. RockPaperScissors
  2. RandomPlatformScroller (Smart Pascal)
  3. Roulette
  4. Pascal Pokemon Code for Windows
  5. BattleshipGames
  6. PascalPokemon
  7. Cars
  8. ChristmasProg
  9. Morse Code
  10. Rocket
Programming - a skill for life!

Introducing Pascal Programming for Schools