get the value of a global variable....
Move to
Next Prev
Up Top
See also
current_global/1
get_global/2
set_global/2
IF Computer > MINERVA > Manual > Reference > Predicates > global variables > get_global/2

get_global/2

get the value of a global variable.

get_global(+Name, -Value)

get_global/2 unifies Value with the value of the global variable Name.

Arguments

Name          atom (name of a global variable)
Value         term

Examples

set_global(text, 'hello world'), get_global(text, X). Succeeds with substitution X <- 'hello world'.

Standard

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

See also

current_global/1, set_global/2.

read on...
MINERVA
ifcomputer logo
f
Expert Services on the Web
Language
English
Japanese
Server
USA
Japan
Site Access
Local Index
Local Contents
Site Contents
Site Index
Printer Friendly
For imode
For PDA
Search
document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/global_variable/get_global/home_en.html
published 2008/7/14 update 2003/2/13 (c) 1996-2006 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 info@ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
scroll to top managed with ubiCMS