グローバル変数の値を得る。...
移動
次へ 前へ
上へ 最上
参考
current_global/1
get_global/2
set_global/2
イフコンピュータ > MINERVA > マニュアル > レファレンス > 述語 > グローバル変数 > get_global/2

get_global/2

グローバル変数の値を得る。

get_global(+名前, -値)

get_global/2 は、グローバル変数 名前の値で を単一化する。

引数

名前          アトム (グローバル変数の名前)
項            項

set_global(text, 'hello world'), get_global(text, X). X <- 'hello world' の代入で、成功。

標準

この述語は、ISO-Prolog 標準には含まれない。

関連

current_global/1, set_global/2.

続く..
MINERVA
ifcomputer logo
f
Expert Services on the Web
言語
English
Japanese
サーバー
USA
Japan
サイトマップ
索引
目次
全体目次
全体索引
印刷向き
imode
PDA
探索
document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/global_variable/get_global/home_jp.html
published 2008/10/6 update 2003/2/13 (c) 1996-2006 IF Computer Japan
IF Computer 〒113-0022 Tel 03-5814-3352 start (AT) ifcomputer.com
Customer Support 東京都文京区千駄木5-28-2   http://www.ifcomputer.co.jp
冒頭へ managed with ubiCMS