Sign in Join
Wiki copytemporary

Standard Pascal/zh CN: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: Standard Pascal/zh CN

OldNewLine
1+**标准Pascal** 是对 [[Pascal]] 语言的最小的且[[Compiler|任何Pascal编译器]]都必须遵循的定义和说明。以下是所有Pascal编译器都必须遵循的[[Keyword|关键字]]:
2+
3+
4+[[Begin|begin]] · [[End|end]] · [[For|for]] · [[Goto|goto]] · [[If|if]] · [[Label|label]] · [[Repeat|repeat]] · [[Then|then]] · [[Until|until]] · [[While|while]] · [[Do|do]] · [[Type|type]] · [[Var|var]]
5+
6+以下的符号也是语法的其中部分:
7+
8+
9+:= ([[Becomes|becomes]]) · = ([[Equal|equal]]) · \> ([[Greater than|greater than]]) · \< ([[Less than|less than]]) \<\> ([[Not equal|not equal]])
10+
11+以下是未被学术标准收录的关键字,但为了扩展功能,修正一些缺陷,提供对[[Borland Pascal]]语法的支持,兼容早期Pascal编译器等等原因,它们在[[FPC]]中被收录。一下是收录的关键字的一部分:
12+
13+
14+[[Implementation|implementation]] · [[Finally|finally]] · [[Try|try]] · [[Unit|unit]].
15+
16+## 数据类型
17+
18+以下是标准Pascal中的数据类型:
19+
20+[[Integer|integer]] · [[Smallint|smallint]] · [[Longint|longint]] · [[Real|real]] · [[Boolean|boolean]] · [[String|string]] · [[Char|char]] · [[Byte|byte]]
21+
22+---
23+*From the Free Pascal wiki, page "Standard Pascal/zh CN", as it stood on 2015-10-16 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).*
24+Category: zh

Back to history