(self, expression)
Evaluate a BASIC expression.
Evaluate a BASIC expression.
Evaluate a BASIC expression .
def evaluate(self, expression):
        """Evaluate a BASIC expression."""
        self.start()
        with self._impl.io_streams.activate():
            if isinstance(expression, text_type):
                expression = self._impl.codepage.unicode_to_bytes(expression)
            return self._impl.evaluate(expression)
def evaluate ( self , expression ) : self . start ( ) with self . _impl . io_streams . activate ( ) : if isinstance ( expression , text_type ) : expression = self . _impl . codepage . unicode_to_bytes ( expression ) return self . _impl . evaluate ( expression )