(self, args)
Reset data pointer (RESTORE)
Reset data pointer (RESTORE)
Reset data pointer ( RESTORE )
def restore_(self, args):
        """Reset data pointer (RESTORE) """
        datanum = next(args)
        if datanum is None:
            self.data_pos = 0
        else:
            try:
                self.data_pos = self._program.line_numbers[datanum]
            except KeyError:
                raise error.BASICError(error.UNDEFINED_LINE_NUMBER)
        list(args)
def restore_ ( self , args ) : datanum = next ( args ) if datanum is None : self . data_pos = 0 else : try : self . data_pos = self . _program . line_numbers [ datanum ] except KeyError : raise error . BASICError ( error . UNDEFINED_LINE_NUMBER ) list ( args )