Hier alle Delphi-Versionen ab Delphi XE
ältere Versionen, siehe
https://delphidabbler.com/notes/version-numbers
Delphi-Quellcode:
{$IF False}
{$ELSEIF (CompilerVersion = 35) and Declared(RTLVersion113)} cDelphiVersion = '11.3 Alexandria';
{$ELSEIF (CompilerVersion = 35) and Declared(RTLVersion112)} cDelphiVersion = '11.2 Alexandria';
{$ELSEIF (CompilerVersion = 35) and Declared(RTLVersion111)} cDelphiVersion = '11.1 Alexandria';
{$ELSEIF CompilerVersion = 35} cDelphiVersion = '11 Alexandria';
{$ELSEIF CompilerVersion = 34} cDelphiVersion = '10.4 Sydney';
{$ELSEIF CompilerVersion = 33} cDelphiVersion = '10.3 Rio';
{$ELSEIF CompilerVersion = 32} cDelphiVersion = '10.2 Tokyo';
{$ELSEIF CompilerVersion = 31} cDelphiVersion = '10.1 Berlin';
{$ELSEIF CompilerVersion = 30} cDelphiVersion = '10 Seattle';
{$ELSEIF CompilerVersion = 29} cDelphiVersion = 'XE8';
{$ELSEIF CompilerVersion = 28} cDelphiVersion = 'XE7';
{$ELSEIF CompilerVersion = 27} cDelphiVersion = 'XE6';
{$ELSEIF CompilerVersion = 26} cDelphiVersion = 'XE5';
{$ELSEIF CompilerVersion = 25} cDelphiVersion = 'XE4';
{$ELSEIF CompilerVersion = 24} cDelphiVersion = 'XE3';
{$ELSEIF CompilerVersion = 23} cDelphiVersion = 'XE2';
{$ELSEIF CompilerVersion = 22} cDelphiVersion = 'XE';
{$ELSE} cDelphiVersion = 'Unbekannt';
{$ENDIF}