|
|
|
イフコンピュータ
>
MINERVA
>
マニュアル
>
レファレンス
>
述語
>
グローバル変数
>
current_global/1
|
current_global/1
|
| グローバル変数の名前を同定する。
current_global(-名前)
current_global/1 は、バックトラックによって定義されたすべてのグローバル変数で 名前 を単一化する。
引数
名前 アトム
例
|
set_global(text, 'hello world'), current_global(text).
| 成功.
|
標準
この述語は、ISO-Prolog 標準には含まれない。
関連
get_global/2,
set_global/2.
|
| 続く..
|
|
|
|
|
|
 |
|
Expert Services on the Web |
|
|
|
|
|
|
|
|
|
|