Delphi Programming
Register
(Added 10.4 Sydney)
Tag: Visual edit
(Versions defined for old compilers)
Tag: Source edit
Line 220: Line 220:
 
|Turbo Pascal for Windows 1.5
 
|Turbo Pascal for Windows 1.5
 
|1.5
 
|1.5
  +
|VER15
|VER70
 
 
|
 
|
 
|-
 
|-
Line 240: Line 240:
 
|Turbo Pascal for Windows 1.0
 
|Turbo Pascal for Windows 1.0
 
|1.0
 
|1.0
  +
|VER10
| ???
 
 
|
 
|
 
|-
 
|-
Line 290: Line 290:
 
|Turbo Pascal 3
 
|Turbo Pascal 3
 
|3.0
 
|3.0
  +
|N/A
| ???
 
 
|
 
|
 
|-
 
|-
 
|Turbo Pascal 2
 
|Turbo Pascal 2
 
|2.0
 
|2.0
  +
|N/A
| ???
 
 
|
 
|
 
|-
 
|-
 
|Turbo Pascal 1
 
|Turbo Pascal 1
 
|1.0
 
|1.0
  +
|N/A
| ???
 
 
|
 
|
 
|}
 
|}

Revision as of 15:30, 21 May 2021


Product Name Version

Conditional Define

CompilerVersion
Embarcadero RAD Studio 10.4 Sydney 27.0 VER340 34
Embarcadero RAD Studio 10.3 Rio 26.0 VER330 33
Embarcadero RAD Studio 10.2 Tokyo 25.0 VER320 32
Embarcadero RAD Studio 10.1 Berlin 24.0 VER310 31
Embarcadero RAD Studio 10 Seattle 23.0 VER300 30
Embarcadero RAD Studio XE8 22.0 VER290 29
Embarcadero RAD Studio XE7 21.0 VER280 28
Embarcadero RAD Studio XE6 20.0 VER270 27
Embarcadero RAD Studio XE5 19.0 VER260 26
Embarcadero RAD Studio XE4 18.0 VER250 25
Embarcadero RAD Studio XE3 17.0 VER240 24
Embarcadero RAD Studio XE2 16.0 VER230 23
Embarcadero RAD Studio XE 15.0 VER220 22
Embarcadero RAD Studio 2010 14.0 VER210 21
CodeGear C++ Builder 2009 12.0 VER200 20
CodeGear Delphi 2007 for .NET 11.0 VER190 19?
CodeGear Delphi 2007 for Win32 11.0 VER180 and VER185 18, 18.5
Borland Developer Studio 2006 10.0 VER180 18
Borland Delphi 2005 9.0 VER170 17
Borland Delphi 8 for .NET 8.0 VER160 * 16
C++BuilderX ? ?
Borland C#Builder 1.0 VER160 *
Borland Delphi 7 7.0 VER150 15
Borland Kylix 3 3.0 VER140 **
Borland C++Builder 6 ? VER140 **(!!)
Borland Kylix 2 2.0 VER140 **
Borland Delphi 6 6.0 VER140 ** 14
Borland Kylix 1.0 VER140 **
Borland C++Builder 5 ? VER130 ***
Borland Delphi 5 5.0 VER130 ***
Borland C++Builder 4 ? VER125
Borland Delphi 4 4.0 VER120
Borland C++Builder 3 ? VER110 ****
Borland Delphi 3 3.0 VER100
Borland C++ 5 ? ?
Borland C++Builder 1 ? VER93
Borland Delphi 2 2.0 VER90
Borland C++ 4.5 ? ?
Borland Delphi 1.0 VER80
Borland C++ 4 ? ?
Borland Pascal 7 7.0 VER70
Borland C++ 3.1 ? ?
Turbo Pascal for Windows 1.5 1.5 VER15
Turbo C++ for DOS 3 ? ?
Borland C++ 3 ? ?
Turbo C++ for Windows 3 (Win16) ? ?
Turbo Pascal for Windows 1.0 1.0 VER10
Borland C++ 2 ? ?
Turbo Pascal 6 6.0 VER60
Turbo C++ for DOS ? ?
Turbo C for DOS 2 ? ?
Turbo Pascal 5.5 5.5 VER55
Turbo C for DOS 1.5 ? ?
Turbo Pascal 5 5.0 VER50
Turbo Pascal 4 4.0 VER40
Turbo C for DOS ? ?
Turbo Pascal 3 3.0 N/A
Turbo Pascal 2 2.0 N/A
Turbo Pascal 1 1.0 N/A

* This conditional define is shared by the Delphi compilers used to build C#Builder 1 and Delphi 8, which do not natively support Delphi for Win32. This define is used in the "IDE Integration Packs" that were released to Borland partners in order to allow IDE plugins like ModelMaker Code Explorer (http://www.modelmakertools.com/code-explorer/index.html) and Castalia (http://www.delphi-expert.com/castalia3) to be compiled.
** This conditional define is shared between C++Builder 6, Delphi 6, Kylix 1, 2, and 3 (Checking for the conditional define "LINUX" helps to determine whether the compiler is Kylix or Delphi and "BCB" can be used to determine if C++Builder is being used).
*** This conditional define is shared with C++Builder 5
**** C++Builder 3.0 used VER110 (it had its own version of the Delphi compiler included).

**** CompilerVersion (Delphi 6 or later) can be used with conditional directives like

{$IF CompilerVersion >= 20}  {$DEFINE CanUnicode}  {$IFEND}

or using code:

if System.CompilerVersion >= 22 then  <do something>;


For C++Builder and Turbo C++ and Turbo C release dates, see CppBuilder Release Dates ...

Note: Version 13.0 never released

See Also


Delphi Versions
Win16 Delphi 1
Win32 Delphi 2Delphi 3Delphi 4Delphi 5Delphi 6Delphi 7Delphi 2007 for Win32
.NET Delphi 8
Win32 + .NET: Borland Developer Studio 2005Borland Developer Studio 2006CodeGear RAD Studio 2007CodeGear RAD Studio 2009
Other: KylixDelphi for PHP3rdRailTurbo Delphi 2006
More info: Release Dates and CodenamesCompiler Release DatesCompiler Conditional Defines