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

def rpn::STACK::divide (   self  ) 

X = Y / X 

Definition at line 91 of file rpn.py.

00091                     :
        ''' X = Y / X '''
        self.stackSize()
        self._X = self._stackData.pop()
        self._Y = self._stackData.pop()
        if self._X != 0.0:
            self._X = self._Y / self._X
        else:
            self._X = None
        self._stackData.append(self._X)

    # memory operations
    def SetReg(self, reg, value):


Generated by  Doxygen 1.6.0   Back to index