4.33 Global variables
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Built-in Predicates
Global variables
b_setval/2
b_getval/2
nb_setval/2
nb_getval/2
nb_linkval/2
nb_current/2
nb_delete/1
Compatibility of SWI-Prolog Global Variables
Packages
Availability:
built-in
nb_setval
(
+Name, +Value
)
Associates a copy of
Value
created with
duplicate_term/2
with the atom
Name
. Note that this can be used to set an initial value other than
[]
prior to backtrackable assignment.