Logo Search packages:      
Sourcecode: pythoncard version File versions  Download package

def rpn::RPN::storeX (   self  ) 

If new number has been entered, push it onto the stack 

Definition at line 274 of file rpn.py.

00274                     :
        ''' If new number has been entered, push it onto the stack '''
        # if necessary, push data onto stack
        if self._stack.get_flag() == 1:
            self._stack.push(self.components.result.text)
        self._stack.clr_flag()
        
    # calculator digit buttons (and the decimal '.')
    def on_0Btn_mouseClick(self, event): self.add_digit('0') 


Generated by  Doxygen 1.6.0   Back to index