Sign in Join
Wiki copytemporary

FPC New Features 2.6.0

About this page

Below you can find a list of new features introduced since the previous release, along with some background information and examples. Note that since svn trunk is by definition still under development, some of the features here may still change before they end up in a release version.

All systems

Language

Better support for Delphi-compatible classes

Advanced record syntax

Enumerators in records

Support for class and record helpers

Generic records, arrays and procedural types

Scoped enumerations

Custom deprecated messages

pascal
unit OldUnit deprecated 'Use NewUnit instead';

interface

implementation

procedure OldRoutine; deprecated 'Use NewRoutine instead';
  begin
  end;

end.

Support for the Objective-Pascal dialect

Constref parameter modifier

pascal
procedure test(constref l: longint);
begin
  writeln('This parameter has been passed by reference, although the Pascal code does not really care about that: ',l);
end;

begin
  test(5);
end.

Basic ISO Standard Pascal support

Support for nested procedure variables

Support for non-local goto's

Support for &-escaping of keywords

Support for univ parameters in MacPas mode

CExtended floating point type

SAR intrinsics

ROL/ROR intrinsics

Bitscan intrinsics

Boolean16, Boolean32 and Boolean64 types

ARM systems

Support for VFPv2 and VFPv3

Support for Thumb-2

IA32/i386 systems

Support for the iPhoneSim target

New Features from other versions


From the Free Pascal wiki, page "FPC New Features 2.6.0", 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.

Revision 1, last changed by WikiArchive .

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.