A suite of demonstration programs comes included with the Free Pascal distribution. These programs have no other purpose than to demonstrate the capabilities of Free Pascal. They are located in the demo directory of the sources.
All example programs mentioned in the documentation are available. Check out the directories that are beneath the same directory as the demo directory. The names of these directories end on ex. There you will find all example sources.