delphi Inc函数和Dec函数的用法
来源:互联网 发布:java this关键字详解 编辑:程序博客网 时间:2024/05/12 21:44
inc有两种用法:
一个是inc(integer),就是加1
比如
i := 100;
inc(i);
就是i变为101
另一个是inc(integer,integer)就是加n
比如
i:=100;
inc(i,50);
就是i变成150
---------------------------------
Dec是递减函数
i:=100;
dec(i);
i就变成99了,如果是dec(i,30)的话,那么i=100-30=70
0 0
- delphi Inc函数和Dec函数的用法
- delphi Inc函数和Dec函数的用法
- delphi Inc函数和Dec函数的用法
- Delphi System 提供的编译期函数(Dec,Inc,Odd,Pred,Succ,Ord,Chr,Low,High,Sizeof)
- delphi inc 等基本函数
- INC 和 DEC
- Format函数的用法(Delphi)
- Delphi ForceDirectories函数的用法
- Delphi里Copy和Pos函数的用法
- Delphi Format函数用法
- DELPHI 常用函数用法
- DelPhi LockWindowUpdate的函数的用法
- DelPhi LockWindowUpdate的函数的用法
- 格式化函数的用法--Delphi
- delphi中函数指针的用法
- format函数的用法(Delphi)Format
- delphi 里move函数的用法
- delphi中move函数的用法
- 等待函数(保持界面正常响应)
- DSP启动流程
- ThreadLocal的使用
- Hadoop 新 MapReduce 框架 Yarn 详解
- 《Windows核心编程》——五 作业
- delphi Inc函数和Dec函数的用法
- Java 其他
- TCP 相关参数解释
- RTMP Server不只是FMS,还有很多其他选择
- HTML+CSS优化“文件选择”控件(<input type="file">)
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- Eclipse导入git上的maven web项目 部署
- Hibernate 学习一
- freemaker中配置文件freemarker.properties详解