Const/zh CN: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Const/zh CN
| Old | New | Line | |
|---|---|---|---|
| 1 | + | 在[[Pascal]][[Program|程序]]中声明**常量**用来告知[[Compiler|编译器]]哪些[[Identifier|标识符]]是常量;[[Constant|常量]]在[[Compile time|编译时]]值被初始化,而不是在运行时初始化,并且不允许再赋值。 | |
| 2 | + | ||
| 3 | + | 在一些Pascal编译器中,常量的声明用来[[Var|定义变量]],定义的常量和变量可以随时进行赋值操作。这样,可以在编译时初始化数组,而不是执行程序时设置初始值。 | |
| 4 | + | ||
| 5 | + | --- | |
| 6 | + | *From the Free Pascal wiki, page "Const/zh CN", as it stood on 2015-07-21 after a change by FTurtle, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 7 | + | Category: Constants/zh CN | |
| 8 | + | Category: Pascal/zh CN | |
| 9 | + | Category: zh |
