Did you know ... | Search Documentation: |
![]() | Pack logicmoo_utils -- prolog/logicmoo/util_structs.pl |
This module allows use of C++ like structures in prolog.
hooked_gvar_get(Name, Value)
:- sisctus_key(Name,N)
,nb_current(N,ValueV)
,!,Value=ValueV.
hooked_gvar_put(Name, Value)
:- sisctus_key(Name,N)
,nb_current(N,_)
,!,nb_setval(N,Value)
.