clipspy-0.3.3/clips/environment.py
def eval(self, construct):
        """Evaluate an expression returning its value.

        The Python equivalent of the CLIPS eval command.

        """
        data = clips.data.DataObject(self._env)

        if lib.EnvEval(self._env, construct.encode(), data.byref) != 1:
            raise CLIPSError(self._env)

        return data.value
Evaluate an expression returning its value.

        The Python equivalent of the CLIPS eval command.

        
Evaluate an expression returning its value.
The Python equivalent of the CLIPS eval command.
Evaluate an expression returning its value . The Python equivalent of the CLIPS eval command .
def eval(self, construct):
        data = clips.data.DataObject(self._env)
        if lib.EnvEval(self._env, construct.encode(), data.byref) != 1:
            raise CLIPSError(self._env)
        return data.value
def eval ( self , construct ) : data = clips . data . DataObject ( self . _env ) if lib . EnvEval ( self . _env , construct . encode ( ) , data . byref ) != 1 : raise CLIPSError ( self . _env ) return data . value
Evaluate an expression returning its value.
Evaluate an expression returning its value .
"""Evaluate an expression returning its value.

        The Python equivalent of the CLIPS eval command.

        """
self
construct