(self, jumpnum, handler=None)
Execute jump for a GOSUB.
Execute jump for a GOSUB.
Execute jump for a GOSUB .
def jump_sub(self, jumpnum, handler=None):
        """Execute jump for a GOSUB."""
        # set return position
        pos = self.get_codestream().tell()
        self.jump(jumpnum)
        self.gosub_stack.append((pos, self.run_mode, handler))
def jump_sub ( self , jumpnum , handler = None ) : # set return position pos = self . get_codestream ( ) . tell ( ) self . jump ( jumpnum ) self . gosub_stack . append ( ( pos , self . run_mode , handler ) )