Global heap variables (not in ISO)

A global heap variable has a name (a non-variable term) and an associated value. Unlike a normal global variable, a global heap variable is stored on the heap instead of the code area, and updates on global heap variables are undone automatically upon backtracking. A global heap variable is gone once execution backtracks over the point where it was created.



Neng-Fa Zhou 2013-01-25