Difference between revisions of "Standard Pascal/ja"

From Free Pascal wiki
Jump to navigationJump to search
Line 1: Line 1:
 
{{Standard Pascal}}
 
{{Standard Pascal}}
  
'''標準Pascal'''[[Compiler|Pascal コンパイラ]]が[[Pascal]]言語に対応するための、最小限の仕様です。標準コンパイラでは、以下の[[Keyword|キーワード(予約語)]]に対応します。:
+
'''標準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]]
Line 9: Line 9:
 
:<nowiki>:=</nowiki> ([[Becomes|代入]])  &middot; = ([[Equal|等しい]])  &middot; > ([[Greater than|より大きい]])  &middot; < ([[Less than|より小さい]]) <> ([[Not equal|等しくない]])
 
:<nowiki>:=</nowiki> ([[Becomes|代入]])  &middot; = ([[Equal|等しい]])  &middot; > ([[Greater than|より大きい]])  &middot; < ([[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:
+
また、以下のキーワードも追加されます。これらは標準Pascalの一部でありませんが、[[FPC]]では、オブジェクトの実装や、C++から発展した例外処理の考え方との互換性、また、[[Borland Pascal]]や初期のPascalコンパイラとの互換性のために使用します。:
  
 
:[[Implementation|implementation]] &middot; [[Finally|finally]] &middot; [[Try|try]] &middot;  [[Unit|unit]].
 
:[[Implementation|implementation]] &middot; [[Finally|finally]] &middot; [[Try|try]] &middot;  [[Unit|unit]].

Revision as of 15:41, 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言語に対応するための最小限の仕様です。標準コンパイラでは、以下のキーワード(予約語)に対応します。:

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

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

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

また、以下のキーワードも追加されます。これらは標準Pascalの一部でありませんが、FPCでは、オブジェクトの実装や、C++から発展した例外処理の考え方との互換性、また、Borland Pascalや初期のPascalコンパイラとの互換性のために使用します。:

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 への対応も始まりました。

外部リンク