Difference between revisions of "Constant/zh CN"

From Lazarus wiki
Jump to navigationJump to search
(Created page with "什么是 '''常量'''? 它的值固定不变。 在程序的const部分定义常量。定义的常量,编译器能对它优化处理。 ...")
 
m (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])
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{Constant}}
 +
 
什么是 '''常量'''?
 
什么是 '''常量'''?
  
 
它的值固定不变。
 
它的值固定不变。
  
在程序的const部分[[Const/zh_CN|定义常量]]。定义的常量,[[Compiler|编译器]]能对它优化处理。
+
在程序的const部分[[Const/zh CN|定义常量]]。定义的常量,[[Compiler|编译器]]能对它优化处理。
 +
 
  
 
特殊的常量值:
 
特殊的常量值:
  
- 逻辑值
+
逻辑值
 
+
* [[False/zh CN|False]]
* [[False/zh_CN|False]]
+
* [[True/zh CN|True]]
 
 
* [[True/zh_CN|True]]
 
 
 
- 空指针
 
 
 
* [[Nil/zh_CN|Nil]]
 
  
- 数学常量
+
空指针
 +
* [[Nil/zh CN|Nil]]
  
* [[Pi/zh_CN|Pi]]
+
数学常量
 +
* [[Pi/zh CN|Pi]]
  
 
== 更多 ==
 
== 更多 ==
 
+
* [[Basic Pascal Tutorial/Chapter 1/Constants/zh CN|定义常量]]
[[Constants/zh_CN|定义常量]]
 
 
 
[[Category:Constants]]
 
[[Category:Pascal]]
 
[[Category:zh]]
 

Latest revision as of 05:03, 25 January 2023

English (en) suomi (fi) français (fr) русский (ru) 中文(中国大陆)‎ (zh_CN)

什么是 常量

它的值固定不变。

在程序的const部分定义常量。定义的常量,编译器能对它优化处理。


特殊的常量值:

逻辑值

空指针

数学常量

更多