델파이에서 사용되는 컴파일러 버전 상수.
출처 : http://delphi.wikia.com/wiki/CompilerVersion_Constant
CompilerVersion ConstantThis page is intended as a supplement to the official documentation on Delphi programming. CodeGear is in the process of putting the Delphi documentation on the Web. Once they have done so, this page will link to the relevant page in the official documentation. see the VCL Documentation Guidelines for an overview on doc pages
UnitDescriptionThe CompilerVersion constant identifies the internal version number of the Delphi compiler. It is defined in the System unit and may be referenced either in code just as any other constant: if CompilerVersion = 20 then sCompilerName := 'Delphi 2009'; or in conditional compiler expressions: {$if CompilerVersion > 18} // Delphi 2007 or later {$ifend} Technical CommentsThe CompilerVersion constant was introduced in Delphi 6 along with conditional expressions. In earlier Delphi versions various compiler defined VERxxx symbols are used to determine compiler versions. CompilerVersion values and the equivalent compiler defined symbols for the Delphi versions in which the CompilerVersion constant is defined are:
Examples(Please provide links to articles/source code that show how to use this item.) See AlsoUser Comments/Tips(Please leave your name with your comment.) Added D2010, Uffe Kousgaard |
'작업일지 > Delphi' 카테고리의 다른 글
windows 7에서 delphi7 dpr파일 더블 클릭으로 열기 (1) | 2014.03.06 |
---|---|
열거형에서 문자열을 취득하는 함수. (0) | 2013.11.02 |
Delphi XE이상의 유닛 스코프 (0) | 2013.10.23 |
delphi XE2에서 TurboPower Orpheus408 설치. (0) | 2012.03.03 |
TSynEdit 에러부분 수정 (0) | 2011.09.24 |