ウィキのコピーミラー

これは pascal.chat のウィキのミラーです。編集、履歴、ログインはそちらで行います。

Standard Pascal/ja

Bahasa Indonesia · Deutsch · English · Español · Français · Português · Suomi · Русский · العربية · 中文(中国) · 日本語

標準Pascalとは、Pascal翻訳系がPascal言語に対応するための最小限の仕様です。 国際標準化機構がISO/IEC 7185:1990 “Information technology – Programming languages – Pascal”を発行しています。 その技術的内容を変更しない邦訳が,JIS X 3008「プログラム言語Pascal」として発行されています。

概要

標準翻訳系では、以下の予約語に対応します。:

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

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

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

また、以下の予約語も追加しています。これらは標準Pascalの一部でありませんが、FPCでは、オブジェクトの実装や、C++から発展した例外処理との互換性、また、Borland Pascalや初期のPascal翻訳系との互換性のために使用します。:

implementation · finally · try · unit

型

標準Pascalでは以下の型が定義されています。

演算子

標準Pascalでは以下の演算子が定義されています。

算術演算子

単項算術演算

<thead>

</thead> <tbody>

</tbody>

二項算術演算子

<thead>

</thead> <tbody>

</tbody>

Free Pascalが対応している方式

Free PascalはISO 7185標準Pascalに対応しており,翻訳方式コマンド列オプション-Misoまたはソースコード翻訳系指令{$mode ISO}を用います。ISO 7815対応は3.0.0版より始まりました。将来の版において,ISO/IEC 10206拡張Pascal方式へ対応することが検討されています。

外部リンク


From the Free Pascal wiki, page "Standard Pascal/ja", as it stood on 2022-08-06 after a change by Kai Burghardt, 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.

第2版、最終更新:WikiArchive 。