set the value of a global variable.
set_global/2 sets the global variable Namei to the value Value.
Name atom (name of a global variable) Value term
| set_global(fruit, [apple,banana,grapes]). | Succeeds. |
This predicate is not part of the ISO-Prolog Standard.
| scroll to top |
|