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

def rpn::STACK::SetReg (   self,
  reg,
  value 
)

write value into memory register reg

Definition at line 103 of file rpn.py.

00103                                 :
        ''' write value into memory register reg'''
        if (reg == int(reg) and (reg >= 0) and (reg <=9)):  
            self._mem[int(reg)] = value
        else:
            print "Error - invalid register"

    def GetReg(self, reg):


Generated by  Doxygen 1.6.0   Back to index