Difference between revisions of "Delphi language features missing from the Free Pascal Compiler"
From Lazarus wiki
Jump to navigationJump to searchLine 25: | Line 25: | ||
==== Class constructors and destructors ==== | ==== Class constructors and destructors ==== | ||
http://blogs.embarcadero.com/abauer/2009/09/03/38898 | http://blogs.embarcadero.com/abauer/2009/09/03/38898 | ||
+ | |||
+ | Implemented in 2.5.1 | ||
==== Delayed directive ==== | ==== Delayed directive ==== |
Revision as of 23:35, 7 August 2011
Note: some of new Delphi features are already implemented in FPC trunk.
New since Delphi 2007
Advanced Records
http://docwiki.embarcadero.com/RADStudio/en/Structured_Types#Records_.28advanced.29
Implemented without record constructors.
New since Delphi 2009
Generics Syntax
A good delphi reference is here: http://docwiki.embarcadero.com/RADStudio/en/Generics_Index
Support for ansistrings with definable a codepage
Anonymous Methods
New since Delphi 2010
Custom Attributes
Enhanced RTTI
Class constructors and destructors
http://blogs.embarcadero.com/abauer/2009/09/03/38898
Implemented in 2.5.1
Delayed directive
Info is here: http://docwiki.embarcadero.com/RADStudio/en/Libraries_and_Packages#Delayed_Loading Some info about internals:
- http://blogs.embarcadero.com/abauer/2009/08/25/38894
- http://blogs.embarcadero.com/abauer/2009/08/29/38896
- http://blogs.embarcadero.com/chrishesik/2009/11/02/35056
fpc wiki about that topic: http://wiki.freepascal.org/Dynamically_loading_headers
AS and IS extended for interfaces
Info is here:
- http://docwiki.embarcadero.com/RADStudio/en/Interface_References#Casting_Interface_References_to_Objects
- http://blogs.embarcadero.com/abauer/2009/08/21/38893
Misc
- using point in the unitname like: unit Borland.VCL.Types (since Delphi 7)