Difference between revisions of "Uses/ja"
From Lazarus wiki
Jump to navigationJump to searchMiyatakejiro (talk | contribs) (Created page with "{{Uses}} {{Japanese Menu}} '''Uses''' 宣言部は、 Pascal/ja プログラム で 宣言 される、that it will invoke or use certa...") |
Miyatakejiro (talk | contribs) |
||
Line 3: | Line 3: | ||
{{Japanese Menu}} | {{Japanese Menu}} | ||
− | '''Uses''' | + | '''Uses''' 節は、 [[Pascal/ja]] [[Program/ja|プログラム]] での [[declaration/ja|宣言部]] であり、Use節で指定した [[Unit/ja|Unit]] 内で定義または特定される [[Procedure/ja|プロシージャ]]、[[Function/ja|関数]]、[[object|オブジェクト]]、[[Const/ja|定数]]、[[Var/ja|変数]] などを使えるようにする箇所です。 |
− | すべての Pascal プログラム と Unit | + | すべての Pascal プログラム と Unit は、自動的に以下の暗黙の uses 節を持ちます。 |
USES System; | USES System; | ||
− | + | コンパイラのexcept in the case where a compiler [[parameter/ja]] allows a unit to exclude a reference to the [[System/ja]] unit. (例えば、System unit を再コンパイルする際などであり、その場合はそれ自身を呼び出す必要はない、ということです。One example of this would be if one was recompiling the System unit, it would be necessary for it not to invoke itself.) | |
[[category:Pascal/ja]] | [[category:Pascal/ja]] |
Revision as of 15:19, 4 June 2016
│
Deutsch (de) │
English (en) │
español (es) │
suomi (fi) │
français (fr) │
日本語 (ja) │
Uses 節は、 Pascal/ja プログラム での 宣言部 であり、Use節で指定した Unit 内で定義または特定される プロシージャ、関数、オブジェクト、定数、変数 などを使えるようにする箇所です。
すべての Pascal プログラム と Unit は、自動的に以下の暗黙の uses 節を持ちます。
USES System;
コンパイラのexcept in the case where a compiler parameter/ja allows a unit to exclude a reference to the System/ja unit. (例えば、System unit を再コンパイルする際などであり、その場合はそれ自身を呼び出す必要はない、ということです。One example of this would be if one was recompiling the System unit, it would be necessary for it not to invoke itself.)