Delphi版本号对照(条件编译中用到)
来源:互联网 发布:知行乐学 编辑:程序博客网 时间:2024/06/06 13:23
The 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 CommentsEdit
The 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:
Defined Symbol
(*) These versions did not have a CompilerVersion constant, it was introduced with Delphi 6.
- Delphi版本号对照(条件编译中用到)
- 【Delphi】 Delphi版本号对照
- [Delphi] Delphi版本号对照
- Delphi各版本号,条件编译有用
- Delphi各版本号,条件编译有用
- Delphi版本号对照
- Delphi版本号对照
- Delphi版本号对照
- Delphi版本号对照
- Delphi版本号对照
- delphi条件编译
- Delphi:条件编译
- Delphi 条件编译
- Delphi编译错误信息对照表
- Makefile中用宏定义进行条件编译
- Makefile中用宏定义进行条件编译
- Makefile中用宏定义进行条件编译
- Makefile中用宏定义进行条件编译
- Standford 机器学习—第四讲 神经网络的表示
- 蓝桥杯搭积木全排列
- 初学linux ---浅谈进程
- 安卓开发中HttpURLConnection 连接能否指定只走移动数据?
- 【unity&文章】攻击敌人判定
- Delphi版本号对照(条件编译中用到)
- iOS Expected unqualified-id 和 Unkown type name 'NSString'
- 获取属性列表
- 校正前端上传的图片格式
- 冒泡排序
- [leetcode]107. Binary Tree Level Order Traversal II
- 阅读列表:On the Surprising Behavior of Distance Metrics in High Dimensional Space
- 集合框架
- IIC(2402)实验