identifies the names of global variables.
current_global/1 unifies by backtracing Name with all
defined global variables.
Name atom
| set_global(text, 'hello world'), current_global(text). | Succeeds. |
This predicate is not part of the ISO-Prolog Standard.
| scroll to top |
|