Sign in Join
Wiki copytemporary

FPC New Features 2.4.2: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: FPC New Features 2.4.2

OldNewLine
1+## About this page
2+
3+Below you can find a list of new features introduced since the previous release, along with some background information and examples.
4+
5+## All systems
6+
7+### Language
8+
9+#### For-in loop support
10+
11+- **Overview**: *for-in* loops allow for easy iterating over the contents of a container type, as well as over some primitive types (arrays, strings, sets) using a uniform syntax.
12+- **Notes**: The basic implementation is Delphi-compatible, but in addition FPC also supports some extra functionality. This functionality is described on the page below.
13+- **More information**: [[for-in loop]]
14+
15+#### Sealed and Abstract classes
16+
17+- **Overview**: A *sealed* class is a class which can not be inherited by other classes. An *abstract* class normally cannot be instantiated, but for compatibility with Delphi *abstract* does nothing at the moment.
18+- **Notes**: Delphi-compatible.
19+- **More information**: <https://gitlab.com/freepascal.org/fpc/source/-/blob/main/tests/test/tabstract1.pp>
20+
21+## New Features from other versions
22+
23+---
24+*From the Free Pascal wiki, page "FPC New Features 2.4.2", as it stood on 2023-05-25 after a change by Alextp, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
25+Category: FPC New Features by release
26+Category: Release Notes

Back to history