Pascal-Windows programming is is an artificial language designed to express computations that can be performed by a machine, particularly a computer.
Download Pascal-Windows programming compiler.
Pascal-Windows programming Hello world sample source code.
Pascal-Windows programming tutorial.
In the previous tutorial, a “Hello World” style application was built. This tutorial will take that program and expand on it to show how to use events and change properties within an application. This tutorial uses the Free Pascal Compiler with Lazarus IDE to create GUI Apps.
This tutorial shows how to create an application that shows a philosophical algorithm regarding the meaning of life that the computer can perform. This is not to be taken too seriously. This is just a fun way of creating an application that uses what we have learned. I hope that you have found this to be humorous and true.

If statements check to see if a condition is met. If the condition is met then the computer will execute the instructions within the if statement. This is used to make decisions and have the computer check facts. If – Else statements will be shown within this tutorial. Commenting will also be shown. The Lazarus IDE and the Free Pascal Compilers ( FPC ) can be downloaded for free at www.freepascal.org. Free Pascal works with Windows Mac and Linux. All code shown can be downloaded for free at www.schoolfreeware.com
This tutorial uses the Free Pascal Compiler and Lazarus IDE Mac port. Windows programmers can follow along without complication since both IDEs are almost 100% identical. Programmers looking to port Delphi applications to the Mac, should take a look at using Lazarus since Delphi for Mac X does not exist, at this time. Also, these tools are useful when porting Turbo Pascal programs to the Macintosh since Turbo Pascal For Mac is no longer offered by Borland. The code, for the second part of this tutorial, can be downloaded for free at www.schoolfreeware.com. Have Fun Programming.
Video Rating: 4 / 5

The Free Pascal Compiler is an open source compiler that is similar to Turbo Pascal. Pascal was originally designed as a teaching language for computers but it can be used to create commercial software and to perform complex mathematical operations. Teachers should consider using Free Pascal for teaching computer programming because it works on all of the major platforms and school, library, and home computers can have Free Pascal installed at no charge. Pascal has a simple syntax that is English-like. This syntax makes Pascal easy to learn and use for both teachers and students. Because of these features, Free Pascal is ideal for educational settings. The Free Pascal Compiler can be downloaded at : www.freepascal.org The Free Pascal Compiler comes in 32 and 64 bit versions. It is available for Intel x86, AMD64 x86/64, PowerPC, PowerPC64, Sparc, and ARM processors. There an old version 1.0 that supports Motorola 68k processors. The Operating System supported include Windows 95+, Windows 64 Bit OS, DOS, Mac OS X, Mac Classic OS, Darwin, Linux, Netware (libc and classic), OS/2, MorphOS. (Other operating system may be supported or become supported with new releases of free pascal) Free Pascal also supports the following systems: Game Boy Advanced Nintendo DS Note: The Mac X version of Free Pascal requires the development tools (Xcode) to be installed on the computer. Xcode can be found on the CD/DVD that came with the Mac or can be downloaded at Apples Developer Connection …
Loops are useful for having the computer repeat commands over and over. There are three types of loops for Free Pascal. The loops include the while loop, repeat until and the for loop. There must be a condition met to end the loop. If the condition is not met the computer will go into a infinite loop. This tutorial will show each loop by calculating a little math problem, with the output printed on the screen. The Lazarus IDE is used for this tutorial. Lazarus is available for Windows, Mac, and Linux. Lazarus is a free download at www.freepascal.org

As your programs become more advanced, placing all the code in the main program can make the program more difficult to code. Slicing the program into sections can help. These sections are called by many names. The names include: subs, sub-modules, sub-procedures, and procedures. In pascal, these sections of code are called procedures. Procedures are created before the main program and can be called by other procedures and functions. Procedures can used global variables or can use their own variables called local variables.
Video Rating: 4 / 5
Arrays hold lists of variables of the same data type. When there are large lists of variables and data, it is easier to contain the data in an array than have large amounts of separate variables to hold the data. Think of an array as a placeholder for piece of data. The syntax of the array is: Name_Of_Array : array[range] of datatype; For example if we wanted to create an array that will hold five human first names the syntax will look like this: FirstName : array[1..5] of string; All code can be downloaded for free at www.schoolfreeware.com

Case statements are similar to If statements. The difference is that the case statement can make the code simpler to read and work with. In some computer languages and computer systems, the case statements run faster than the If statements. All code can be downloaded for free at www.schoolfreeware.com