(self, args)
WEND: iterate while-loop.
WEND: iterate while-loop.
WEND : iterate while - loop .
def wend_(self, args):
        """WEND: iterate while-loop."""
        list(args)
        ins = self.get_codestream()
        pos = ins.tell()
        while True:
            if not self.while_stack:
                # WEND without WHILE
                raise error.BASICError(error.WEND_WITHOUT_WHILE)
            whilepos, wendpos = self.while_stack[-1]
            if pos == wendpos:
                break
            # not the expected WEND, we must have jumped out
            self.while_stack.pop()
        self._check_while_condition(ins, whilepos)
def wend_ ( self , args ) : list ( args ) ins = self . get_codestream ( ) pos = ins . tell ( ) while True : if not self . while_stack : # WEND without WHILE raise error . BASICError ( error . WEND_WITHOUT_WHILE ) whilepos , wendpos = self . while_stack [ - 1 ] if pos == wendpos : break # not the expected WEND, we must have jumped out self . while_stack . pop ( ) self . _check_while_condition ( ins , whilepos )