Standard Pascal/ja

From Free Pascal wiki
Revision as of 12:48, 22 May 2016 by Miyatakejiro (talk | contribs)
Jump to navigationJump to search

Template:標準Pascal

標準PascalPascal コンパイラPascal言語に対応するための、最低レベルの仕様です。以下が標準コンパイラが対応するキーワード(予約語)です。:

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

以下の演算子も、仕様の一環です。:

:= (代入) · = (等しい) · > (より大きい) · < (より小さい) <> (等しくない)

また、以下のキーワード(予約語)も含まれます。これらは、標準Pascalのでありませんが、FPCではオブジェクトのへの機能を用いるためや、C++から派生したエラー制御の考え方を取り入れるために、用いられます。また、Borland Pascalや初期のPascalコンパイラとの互換性を保つために使われます。There are additional keywords which are not technically part of the Standard Pascal language but are used by FPC either for additional functionality such as for implementing objects, compatibility with the error recovery concepts exposed by C++, or to provide compatibility with Borland Pascal and earlier Pascal compilers. These keywords include:

implementation · finally · try · unit.

データ型

標準のデータ型は以下のとおりです。:

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

Free Pascal がサポートするモード

Free Pascal は、-Miso のモードスイッチで ISO 7185 標準パスカル に、-Mextendedpascal で ISO/IEC 10206 拡張パスカル に対応します。. version 3.0.0. 以降では、ISO 7185 への対応も始まりました。

外部リンク