Skip to content

Free Pascal Cookbook

Cooking

Welcome to my Free Pascal Cookbook!

You'll find useful snippets and study notes for Object Pascal using using the Free Pascal Compiler (FPC) and Lazarus IDE—perfect for saving time and streamlining your work!

If you're seeking tutorials and in-depth technical discussions, don't miss Resources.

Install FPC Official Documentation

Why Free Pascal?

Productive

Rapid application development with visual components and event-driven design.

Cross-Platform

Free Pascal and Lazarus allow development across multiple platforms.

Readable

Clean syntax and strong typing for easier maintenance and debugging.

Native

Direct compilation to machine code for optimal performance.

Stable

Maintains compatibility with legacy code while supporting modern features.

Rich Ecosystem

Extensive component library with strong database support.

Official Documentation

Free Pascal Compiler (FPC)

PDF HTML Note
PDF HTML User's guide
PDF HTML Programmer's guide
PDF HTML Language reference guide
PDF HTML Run-Time Library (RTL) units reference manual
PDF HTML Free Component Library (FCL) units reference manual
PDF HTML Free Component Library (FCL) Resource units reference manual
PDF HTML fpdoc documentation tool reference manual
PDF NA Reference chart with all compiler options and switches (PDF only)

Lazarus IDE

Installation

You need the Free Pascal Compiler (FPC) to run the snippets locally on your machine.

Latest release: FPC 3.3.2, Lazarus IDE 3.6.

Code Repos

Acknowledgments

Note

Code snippets on this site work with FPC 3.2.2 and Lazarus 3.6 on Win 11.

Warning

This document is a work in progress.

Contents are still being revised and added.