# Modern Pascal course examples and slides, updates to modern Pascal book to fully support both Delphi and FPC

**URL:** https://forum.castle-engine.io/t/modern-pascal-course-examples-and-slides-updates-to-modern-pascal-book-to-fully-support-both-delphi-and-fpc/1864
**Category:** News
**Created:** [April 14, 2025, 11:42am UTC](https://forum.castle-engine.io/t/modern-pascal-course-examples-and-slides-updates-to-modern-pascal-book-to-fully-support-both-delphi-and-fpc/1864 "2025-04-14T11:42:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)
#### Post date: [April 14, 2025, 11:42am UTC](https://forum.castle-engine.io/t/modern-pascal-course-examples-and-slides-updates-to-modern-pascal-book-to-fully-support-both-delphi-and-fpc/1864/1 "2025-04-14T11:42:05Z")

</div>

| [![Modern Pascal icon](https://forum.castle-engine.io/uploads/default/original/2X/d/d3ae49ddcd04e3953de82acd9f6f9e6f290f6d8d.png)](https://castle-engine.io/wp/wp-content/uploads/2025/04/modern_pascal_organization_icon.png "Modern Pascal icon") |

1. Last week I made a course teaching _modern Pascal_, [organized by BSC (Embarcadero branch in Poland)](https://www.bsc.com.pl/szkolenie-nowoczesny-obiektowy-pascal/). We started from basics (structural and imperative programming, classes) and went on to advanced things (TComponent, various ways to deal with memory management, class references, generics, and more). It total, it was 2 days \* 6 hours. Mostly lectures, i.e. _“Michalis talking and showing”_, but also with some time to do exercises in Delphi.

I was happy to got very positive feedback from the participants! To let everyone benefit, I’m publishing materials from it:

  - Repository with all (38, as of now) examples: [https://github.com/modern-pascal/modern-pascal-course](https://github.com/modern-pascal/modern-pascal-course)

  - Slides (in Polish): [Day 1](https://castle-engine.io/bsc_pascal_1), [Day 2](https://castle-engine.io/bsc_pascal_2).

We used Delphi during the course, but I made sure all information and examples is compatible also with the open-source FPC compiler. For this, we used FPC _Delphi mode_ syntax.

We use [GitHub Actions](https://castle-engine.io/github_actions) to make sure this is true: all the examples compile with FPC and Delphi. I created a new GitHub organization for this, [https://github.com/modern-pascal/](https://github.com/modern-pascal/), useful to use my self-hosted runners with Delphi across non-CGE projects.

2. To not stop above, I pushed an upgrade to our [Modern Object Pascal Introduction for Programmers](https://castle-engine.io/modern_pascal).

Have fun with modern Pascal! If you like this work, please [support us on Patreon](https://www.patreon.com/castleengine).

---

<div class="post-metadata">

### Author: ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)
#### Post date: [April 14, 2025, 11:57am UTC](https://forum.castle-engine.io/t/modern-pascal-course-examples-and-slides-updates-to-modern-pascal-book-to-fully-support-both-delphi-and-fpc/1864/2 "2025-04-14T11:57:51Z")

</div>


