IF Computer > MINERVA > Manual > Reference > Predicates > global variables > current_global/1

current_global/1

MINERVA
ifcomputer logo
f
Expert Services on the Web

identifies the names of global variables.

current_global(-Name)

current_global/1 unifies by backtracing Name with all defined global variables.

Arguments

Name          atom

Examples

set_global(text, 'hello world'), current_global(text). Succeeds.

Standard

This predicate is not part of the ISO-Prolog Standard.

See also

get_global/2, set_global/2.

document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/global_variable/current_global/print_en.html
published 2008/10/6 update 1997/6/22 (c) 1996-2006 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 start (AT) ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
Back> managed with ubiCMS