current_global/1

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.


Darueber read on...