譬如if a = 0 then
  条件满足  跳过这个If语句
else
  a= a+1
end if
继续执行下面代码
...
...
...

解决方案 »

  1.   

    if a = 0 then
      '啥也不写就行
    else
      a= a+1
    end if
      

  2.   

    提供另外一个不是特别好但是较直观的方法:if a = 0 then
      goto go_next
    else
      a= a+1
    end ifgo_next:
    继续执行下面代码
    ...
    ...
    ...
      

  3.   

    if a = 0 then
      '条件满足 跳过这个If语句
      Goto BreakIf
    else
      a= a+1
    end if
    '继续执行下面代码
    BreakIf:
    '...
    '...
    '...
      

  4.   

    if a <> 0 then....
    end if
    继续执行下面代码用反条件不就直接跳过了么
      

  5.   

    if a <>0 then
      a= a+1
    end if
    .
    .
    .
    .