Sign in Join
Wiki copytemporary

Revision 1 of 1, by FTurtle on 10-16-2015. The page as it is now.

Standard Pascal/zh CN

标准Pascal 是对 Pascal 语言的最小的且任何Pascal编译器都必须遵循的定义和说明。以下是所有Pascal编译器都必须遵循的关键字:

begin · end · for · goto · if · label · repeat · then · until · while · do · type · var

以下的符号也是语法的其中部分:

:= (becomes) · = (equal) · > (greater than) · < (less than) <> (not equal)

以下是未被学术标准收录的关键字,但为了扩展功能,修正一些缺陷,提供对Borland Pascal语法的支持,兼容早期Pascal编译器等等原因,它们在FPC中被收录。一下是收录的关键字的一部分:

implementation · finally · try · unit.

数据类型

以下是标准Pascal中的数据类型:

integer · smallint · longint · real · boolean · string · char · byte


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.