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

def rpn::STACK::GetReg (   self,

read memory register reg 

Definition at line 110 of file rpn.py.

00110                          :
        ''' read memory register reg '''
        if (reg == int(reg) and (reg >= 0) and (reg <=9)):
            return self._mem[int(reg)] 
            print "Error - invalid register"  
            return None

    # These functions operate on the new_data_flag
    # Ehe flag is set when new data is entered into the 
    # text entry box, before the 'Enter' key is pressed
    def set_flag(self): self.new_data_flag = 1

Generated by  Doxygen 1.6.0   Back to index