for i=1 to 6
   if i=4 then ______
    ......
next

解决方案 »

  1.   

    for i=1 to 6
       if i=4 then i=5
        ......
    next
      

  2.   

    上面只是打个比方,其中跳出循环的条件是不定的.有没有类似于Pascal中continue的功能?
      

  3.   

    for i=1 to 6
       if 条件 then goto nextLoop
       '正常处理
    nextLoop:
    next
      

  4.   

    for i=1 to 6
        if not 跳出条件 then
            正常处理
     
         end ifnext
      

  5.   

    建议使用
       Do While ...
         ...
       Loop
      

  6.   

    谢谢各位的回答!
    zhangwh6882(天龙八不)和lxcc(虫子) 的方法很好,给分!