code: def value(self):
          
          data = clips.data.DataObject(self._env)
  
          if lib.EnvGetDefglobalValue(
                  self._env, self.name.encode(), data.byref) != 1:
              raise CLIPSError(self._env)
  
          return data.value
docs: Global value.