'vbscript中的循环

For..next '循环
for i = 0 to 5
msgbox "现在的数值为：" & i 


nextFor..each '循环
dim names(2)
names(0) = "0"
names(1) = "1"
names(2) = "2"

for each x in names
   Msgbox x
nextDo...While '循环
i=0
do while i < 10
   Msgbox i
   i=i+1
loop