Delphi Version Features

Feature Version
& operator for treating keywords as identifiersDelphi 2006
{$IFEND} directive no longer required to close {$IF} statements: {$ENDIF} can now be used instead.Delphi XE4
{$LEGACYIFEND} directiveDelphi XE5
{$MESSAGE} directiveDelphi 6
{$WARN} directiveDelphi 7
64 bit compilerDelphi XE2
Abstract classesDelphi 2006
Anonymous methods / closuresDelphi 2009
AttributesDelphi 2010
class constructors / destructorsDelphi 2010
Class data (class var)Delphi 2006
Class helpersDelphi 2006
Class propertiesDelphi 2005
Custom managed recordsDelphi 10.4
delayed keyword (for loading of DLLs)Delphi 2010
deprecated directiveDelphi 6
deprecated directive with commentDelphi 2009
DirectoryExists function moved to SysUtils unit from FileCtrlDelphi 6
Dynamic arraysDelphi 4
Dynamic array concatenation and addition extensions. Dynamic arrays can be initialised by assigning an array constant, as in DI := [1, 2, 3]; and can be concatenated using code like DI := DI + [1, 2, 3]; or DI := DJ + DK, where DIDJ & DK are all dynamic integer arrays.Delphi XE7
EOSError (instead of EWin32Error)Delphi 6
ExcludeTrailingPathDelimiter functionDelphi 6
Exit with result parameterDelphi 2009
Final methods Delphi 2006
Floating point number comparison routines added to Math unit.Delphi 6
for .. in loopsDelphi 2005
FramesDelphi 5
Function inliningDelphi 2005
GenericsDelphi 2009
IInterfaceDelphi 6
IncludeTrailingPathDelim functionDelphi 6
Inline variable declarationsDelphi 10.3
inline keywordDelphi 2005
Inner exceptionsDelphi 2009
Insert and Delete RTL routines can be used with dynamic arrays in a similar way to how they are used with strings.Delphi XE7
Int8 typeDelphi 2009
Int16 typeDelphi 2009
Int32 typeDelphi 2009
Int64 type Delphi 4
Interface to object castingDelphi 2010
library directiveDelphi 6
LongWord typeDelphi 4
Margins and Padding properties on TControlDelphi 2006
Namespaces [more info]. See also: Unit scope names.Delphi 2005
Nested constants within classes / recordsDelphi 2005
Nested types within classesDelphi 2005
Operator overloading on recordsDelphi 2006
Overloading for functions, procedures and methodsDelphi 4
platform directiveDelphi 6
RaiseLastOSError procedureDelphi 6
Record Helpers for simple typesDelphi XE3
Records with methodsDelphi 2006
resourcestring statementDelphi 3
RTTI enhancementsDelphi 2010
SafeLoadLibrary functionDelphi 5
Scoped enumerators (must have type name prefix)Delphi 2009
Sealed classesDelphi 2006
static directive for class methodsDelphi 2005
strict private and strict protected visibility specifiersDelphi 2005
string type is UnicodeStringDelphi 2009
StrUtils unitDelphi 6
TApplication.MainFormOnTaskbar propertyDelphi 2007
TArray type in System unit.Delphi 2010
TBytes alias for array of ByteDelphi 2007
Text format form filesDelphi 5
TFormatSettings and overloaded format and conversion routines that use itDelphi 7
TObject.Equals virtual methodDelphi 2009
TObject.GetHashCode virtual methodDelphi 2009
TObject.ToString virtual methodDelphi 2009
TObject.UnitName methodDelphi 2009
Touch supportDelphi 2010
TRegistry supports access flagsDelphi 6
TRegistry.OpenKeyReadOnly methodDelphi 4
TryStrToXXXX routines added to SysUtilsDelphi 6
TStream supports 64 bit size and seek offsetsDelphi 6
TStringList.Create(OwnsObjects: Boolean) constructor overloadDelphi 2009
Types unitDelphi 6
UInt8 typeDelphi 2009
UInt16 typeDelphi 2009
UInt32 typeDelphi 2009
UInt64 typeDelphi 7
Unicode identifier namesDelphi 2005
Unicode source filesDelphi 2005
Unicode support (inc Windows API)Delphi 2009
UnicodeString typeDelphi 2009
Unit conversion handling (that's unit as in mm or inches, not unit as in source code unit)Delphi 6
Unit scope names [More info]. See also: Namespaces.Delphi XE2
UTF8 source filesDelphi 2005
UTF8Decode and UTF8Encode routinesDelphi 6
UTF8String typeDelphi 6
Variants unitDelphi 6
PosEx introducedDelphi 7
PosEx became obsolete. Pos got third offset argumentDelphi XE3
Variants unitDelphi 6
VCL stylesDelphi XE2
XMLDoc documentationDelphi 2005
Multiline String LiteralsDelphi 12 Athens

Footnotes

  1. All this information relates to the native Delphi compiler, not the .NET compiler.
  2. From Delphi XE5 the use of the {$IFEND} directive results in a compiler error unless a {$LEGACYIFEND} directive precedes the first {$IFEND} directive or unless the use of legacy {$IFEND} is enabled in project options.
  3. Source: EFG's Computer Lab (defunct website). This source also stated that the Math unit did not change from Delphi 4 to Delphi 5.
Former source: delphiDabbler.com

Embarcadero Delphi 10.4 does not support Windows 7. Delphi 10.3 still does.
RAD Studio 12 offers official support for iOS 17 (for Delphi only), Android 14, and macOS Sonoma. RAD Studio 12 also supports Ubuntu 22 LTS and Windows Server 2022.

No comments:

Post a Comment