Difference between revisions of "Standard Pascal/ja"
Miyatakejiro (talk | contribs) |
Miyatakejiro (talk | contribs) |
||
Line 1: | Line 1: | ||
{{Standard Pascal}} | {{Standard Pascal}} | ||
− | '''標準Pascal'''は[[Compiler|Pascal コンパイラ]]が[[Pascal]] | + | '''標準Pascal'''は[[Compiler|Pascal コンパイラ]]が[[Pascal]]言語に対応するための、最小限の仕様です。標準コンパイラでは、以下の[[Keyword|キーワード(予約語)]]に対応します。: |
:[[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]] | :[[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]] | ||
− | + | 以下の演算子も、仕様の一部です。: | |
:<nowiki>:=</nowiki> ([[Becomes|代入]]) · = ([[Equal|等しい]]) · > ([[Greater than|より大きい]]) · < ([[Less than|より小さい]]) <> ([[Not equal|等しくない]]) | :<nowiki>:=</nowiki> ([[Becomes|代入]]) · = ([[Equal|等しい]]) · > ([[Greater than|より大きい]]) · < ([[Less than|より小さい]]) <> ([[Not equal|等しくない]]) | ||
− | + | また、以下のキーワードも追加されます。これらは標準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|implementation]] · [[Finally|finally]] · [[Try|try]] · [[Unit|unit]]. | :[[Implementation|implementation]] · [[Finally|finally]] · [[Try|try]] · [[Unit|unit]]. |
Revision as of 15:26, 24 May 2016
│
العربية (ar) │
Deutsch (de) │
English (en) │
español (es) │
suomi (fi) │
français (fr) │
Bahasa Indonesia (id) │
日本語 (ja) │
português (pt) │
русский (ru) │
中文(中国大陆) (zh_CN) │
標準PascalはPascal コンパイラがPascal言語に対応するための、最小限の仕様です。標準コンパイラでは、以下のキーワード(予約語)に対応します。:
以下の演算子も、仕様の一部です。:
また、以下のキーワードも追加されます。これらは標準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 への対応も始まりました。
外部リンク
- Standard Pascal, reference information about the ANSI ISO 7185 standard.
- ISO 7185:1990, official normative version of the Pascal standard.
- ISO/IEC 10206:1991: Extended Pascal standard