These pages are intended to assist students trying to understand how various programming structures work in Turbo Pascal. They have been developed as dynamic pages using the PHP language.
Three pictures are provided for each stage as a program fragment is executed: the source code, the variables in RAM, and the screen.
The program line about to be executed is printed on an aquamarine background. Click on the "NEXT" link to trace through the code. You can also reverse the process by clicking on "PREV" in most situations.
Changes in RAM and new information on the screen are signaled by being printed in red. In some instances, you will be permitted to input data.
Further information about the exemplified programming concepts is available through the associated links to static web pages. This information includes flowcharts, pseudocode, and discussion. In the following list, the first link is to a static page, while the others are links to program traces.