IF Computer > MINERVA > Manual > Reference > Predicates > global variables > set_global/2

set_global/2

MINERVA
ifcomputer logo
f
Expert Services on the Web

set the value of a global variable.

set_global(+Name, +Value)

set_global/2 sets the global variable Namei to the value Value.

Arguments

Name          atom (name of a global variable)
Value         term

Examples

set_global(fruit, [apple,banana,grapes]). Succeeds.

Standard

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

See also

current_global/1, get_global/2.

document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/global_variable/set_global/print_de.html
published 2008/12/1 update 1998/8/6 (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