Skip to content

Instantly share code, notes, and snippets.

@quasoft
Last active January 5, 2018 09:00
Show Gist options
  • Save quasoft/b3e7d30588149d44923c to your computer and use it in GitHub Desktop.
Save quasoft/b3e7d30588149d44923c to your computer and use it in GitHub Desktop.
Delphi product/compiler versions

List of Delphi product/compiler versions and conditional directives:

Product Product Version CompilerVersion Directive
Delphi 10.1 Berlin 24 31 VER310
Delphi 10 Seattle 23 30 VER300
Delphi XE8 22 29 VER290
Delphi XE7 21 28 VER280
Delphi XE6 20 27 VER270
Delphi XE5 19 26 VER260
Delphi XE4 18 25 VER250
Delphi XE3 17 24 VER240
Delphi XE2 16 23 VER230
Delphi XE 15 22 VER220
Delphi 2010 14 21 VER210
Delphi 2009 12 20 VER200
Delphi 2007 .NET 11 19 VER190
Delphi 2007 11 18.5 VER185
Delphi 2006 10 18 VER180
Delphi 2005 9 17 VER170
Delphi 8 .NET 8 16 VER160
Delphi 7 7 15 VER150
Delphi 6 6 14 VER140
Delphi 5 5 13 VER130
Delphi 4 4 12 VER120
Delphi 3 3 10 VER100
Delphi 2 2 9 VER90
Delphi 1 1 8 VER80
Borland pascal 7 NA 7 VER70
Turbo pascal 6 NA 6 VER60
Turbo pascal 5.5 NA 5.5 VER55
Turbo pascal 5 NA 5 VER50
Turbo pascal 4 NA 4 VER40

Samples:

{$IFDEF VER300} ShowMessage('Delphi 10 Seattle');{$ENDIF}

{$IF CompilerVersion > 18} // Delphi 2007 or later {$ENDIF}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment