add nb_current and fix nb_delete.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1801 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -808,3 +808,10 @@ nth_instance(X,Y,Z) :-
|
||||
prolog_current_frame(Env) :-
|
||||
Env is '$env'.
|
||||
|
||||
nb_current(GlobalVariable, Val) :-
|
||||
var(GlobalVariable), !,
|
||||
'$nb_current'(GlobalVariable),
|
||||
nb_getval(GlobalVariable, Val).
|
||||
nb_current(GlobalVariable, Val) :-
|
||||
nb_getval(GlobalVariable, Val).
|
||||
|
||||
|
Reference in New Issue
Block a user