Difference between revisions of "FPC New Features 2.4.2"

From Lazarus wiki
Jump to navigationJump to search
m
Line 14: Line 14:
 
* '''Notes''': Delphi-compatible.
 
* '''Notes''': Delphi-compatible.
 
* '''More information''': http://svn.freepascal.org/svn/fpc/trunk/tests/test/tabstract1.pp
 
* '''More information''': http://svn.freepascal.org/svn/fpc/trunk/tests/test/tabstract1.pp
 +
 +
 +
[[Category:FPC New Features by release]]

Revision as of 17:13, 7 November 2011

About this page

Below you can find a list of new features introduced since the previous release, along with some background information and examples.

All systems

Language

For-in loop support

  • 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.
  • Notes: The basic implementation is Delphi-compatible, but in addition FPC also supports some extra functionality. This functionality is described on the page below.
  • More information: for-in_loop

Sealed and Abstract classes