Compiler Versions

From RAD Studio
Jump to: navigation, search

Go Up to Conditional compilation (Delphi)


The following table lists the version number associated with each release of Delphi compilers, beginning with Turbo Pascal 4.0 and ending with the current version of the compiler:

Delphi conditional VER<nnn> Product Product Version Package Version CompilerVersion
VER350 Delphi 11.0 Alexandria / C++Builder 11.0 Alexandria 22.0 280 35.0
VER340 Delphi 10.4 Sydney / C++Builder 10.4 Sydney 21.0 270 34.0
VER330 Delphi 10.3 Rio / C++Builder 10.3 Rio 20.0 260 33.0
VER320 Delphi 10.2 Tokyo / C++Builder 10.2 Tokyo 19.0 250 32.0
VER310 Delphi 10.1 Berlin / C++Builder 10.1 Berlin 18.0 240 31.0
VER300 Delphi 10 Seattle / C++Builder 10 Seattle 17.0 230 30.0
VER290 Delphi XE8 / C++Builder XE8 16.0 220 29.0
VER280 Delphi XE7 / C++Builder XE7 15.0 210 28.0
VER270 Delphi XE6 / C++Builder XE6 20 200 27.0
VER260 Delphi XE5 / C++Builder XE5 19 190 26.0
VER250 Delphi XE4 / C++Builder XE4 18 180 25.0
VER240 Delphi XE3 / C++Builder XE3 17 170 24.0
VER230 Delphi XE2 / C++Builder XE2 16 160161 is the version for the five FireMonkey packages at XE2 Update 2: fmi161.bpl, fmx161.bpl, fmxase161.bpl, fmxdae161.bpl, and fmxobj161.bpl. 23.0
VER220 Delphi XE / C++Builder XE 15 150 22.0
VER210 Delphi 2010 / C++Builder 2010 14 140 21.0
VER200 Delphi 2009 / C++Builder 2009 12 120 20.0
VER190 Delphi 2007 for .Net [1] 11 110 19.0
VER180 or VER185 Delphi 2007 / C++Builder 2007 for Win32 [1] 11 110 18.5
VER180 Delphi 2006 / C++Builder 2006 10 100 18.0
VER170 Delphi 2005 9 90 17.0
VER160 Delphi 8 for .Net 8 80 16.0
VER150 Delphi 7 (and 7.1) 7 70 15.0
VER140 Delphi 6 / C++Builder 6 6 60 14.0
VER130 Delphi 5 / C++Builder 5 5 NA NA
VER125 C++Builder 4 4 NA NA
VER120 Delphi 4 4 NA NA
VER110 C++Builder 3 3 NA NA
VER100 Delphi 3 3 NA NA
VER93 C++Builder 1 NA NA NA
VER90 Delphi 2 2 NA NA
VER80 Delphi 1 1 NA NA
VER70 Borland Pascal 7.0 NA NA NA
VER15 Turbo Pascal for Windows 1.5 NA NA NA
VER10 Turbo Pascal for Windows 1.0 NA NA NA
VER60 Turbo Pascal 6.0 NA NA NA
VER55 Turbo Pascal 5.5 NA NA NA
VER50 Turbo Pascal 5.0 NA NA NA
VER40 Turbo Pascal 4.0 NA NA NA
  1. 1.0 1.1 Note that Delphi 2007 defines two VERxxx symbols (VER180 and VER185). Delphi 2006 and 2007 are binary compatible, so 180 works for both. If you need only 2007, use VER185.
Note: CompilerVersion was first introduced with Delphi 6, so earlier versions do not have the CompilerVersion constant.


See Also