Global heap variables (not in ISO)

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



Neng-Fa Zhou 2012-01-03