Difference between revisions of "Constant/zh CN"
From Free Pascal wiki
Jump to navigationJump to searchm (bypass redirect to Basic Pascal Tutorial/Chapter 1/Constants/zh CN, remove categorizations already done via {{Constant}} categorization template, ensure formatting list as _one_ list [and not multiple separate lists]) |
|||
Line 5: | Line 5: | ||
它的值固定不变。 | 它的值固定不变。 | ||
− | 在程序的const部分[[Const/ | + | 在程序的const部分[[Const/zh CN|定义常量]]。定义的常量,[[Compiler|编译器]]能对它优化处理。 |
特殊的常量值: | 特殊的常量值: | ||
− | + | 逻辑值 | |
+ | * [[False/zh CN|False]] | ||
+ | * [[True/zh CN|True]] | ||
− | + | 空指针 | |
− | + | * [[Nil/zh CN|Nil]] | |
− | |||
− | |||
− | |||
− | |||
− | * [[Nil/ | ||
− | |||
− | |||
− | |||
− | |||
+ | 数学常量 | ||
+ | * [[Pi/zh CN|Pi]] | ||
== 更多 == | == 更多 == | ||
− | + | * [[Basic Pascal Tutorial/Chapter 1/Constants/zh CN|定义常量]] | |
− | [[Constants/ | ||
− | |||
− | |||
− | |||
− |
Latest revision as of 05:03, 25 January 2023
│
English (en) │
suomi (fi) │
français (fr) │
русский (ru) │
中文(中国大陆) (zh_CN) │
什么是 常量?
它的值固定不变。
在程序的const部分定义常量。定义的常量,编译器能对它优化处理。
特殊的常量值:
逻辑值
空指针
数学常量