(self, args)
NEW: clear program from memory.
NEW: clear program from memory.
NEW : clear program from memory .
def new_(self, args):
        """NEW: clear program from memory."""
        list(args)
        self.interpreter.tron = False
        # deletes the program currently in memory
        self.program.erase()
        # reset stacks
        self.interpreter.clear_stacks_and_pointers()
        # and clears all variables
        self._clear_all()
        self.interpreter.set_pointer(False)
def new_ ( self , args ) : list ( args ) self . interpreter . tron = False # deletes the program currently in memory self . program . erase ( ) # reset stacks self . interpreter . clear_stacks_and_pointers ( ) # and clears all variables self . _clear_all ( ) self . interpreter . set_pointer ( False )