For ...To ...Step...

上一篇 / 下一篇  2012-10-22 21:09:25 / 个人分类:VBScript

Function show(num)
 For i=10 To num Step -2
  If i=2 Then
    msgbox "It is 2 "
  ElseIf i=0 Then
    msgbox "It is 0"
  Else
    msgbox "It is other..."
  End if
 Next
End Function
show(0)

TAG:

 

评分:0

我来说两句

日历

« 2024-04-28  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 4408
  • 日志数: 14
  • 建立时间: 2012-10-16
  • 更新时间: 2013-05-14

RSS订阅

Open Toolbar