(self)
Clear all to be cleared for CLEAR statement.
Clear all to be cleared for CLEAR statement.
Clear all to be cleared for CLEAR statement .
def clear(self):
        """Clear all to be cleared for CLEAR statement."""
        # clear last error number (ERR) and line number (ERL)
        self.error_num, self.error_pos = 0, 0
        # disable error trapping
        self._init_error_trapping()
        # disable all event trapping (resets PEN to OFF too)
        self._basic_events.reset()
        # CLEAR also dumps for_next and while_wend stacks
        self.clear_loop_stacks()
        # reset the DATA pointer
        self.data_pos = 0
def clear ( self ) : # clear last error number (ERR) and line number (ERL) self . error_num , self . error_pos = 0 , 0 # disable error trapping self . _init_error_trapping ( ) # disable all event trapping (resets PEN to OFF too) self . _basic_events . reset ( ) # CLEAR also dumps for_next and while_wend stacks self . clear_loop_stacks ( ) # reset the DATA pointer self . data_pos = 0