VB中 Dim x If x then print x else print x+1结果是什么请指
VB中 Dim x If x then print x else print x+1结果是什么请指
  日期:2018-05-06 14:57:45 人气:2
  
  结果是1
因为dim x 没有定具体值,默认为0
即x=0,执行else语句,所以x=0+1=1 
因为x=0,即是否的意思,所以执行else语句~~
      VB中 Dim x If x then print x else print x+1结果是什么请指