RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.CompilerVersion Constant

Designates the version number of the Delphi compiler.

Pascal
CompilerVersion = 18.0;
C++
CompilerVersion = 18.0;

Use CompilerVersion to test the version level of the Delphi compiler. This is useful if you want to conditionalize code that takes advantage of newer features in the Delphi language. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!