Difference between revisions of "Constant/zh CN"
From Free Pascal wiki
Jump to navigationJump to searchm |
|||
Line 29: | Line 29: | ||
[[Constants/zh_CN|定义常量]] | [[Constants/zh_CN|定义常量]] | ||
− | [[Category:Constants]] | + | [[Category:Constants/zh_CN]] |
− | [[Category:Pascal]] | + | [[Category:Pascal/zh_CN]] |
[[Category:zh]] | [[Category:zh]] |
Revision as of 21:40, 21 July 2015
│
English (en) │
suomi (fi) │
français (fr) │
русский (ru) │
中文(中国大陆) (zh_CN) │
什么是 常量?
它的值固定不变。
在程序的const部分定义常量。定义的常量,编译器能对它优化处理。
特殊的常量值:
- 逻辑值
- 空指针
- 数学常量