| 发表于:2007-03-25 13:04:593楼 得分:20 |
使用数组变量: option explicit dim str(3) as string dim i as integer private sub command1_click() i = i + 1 text1 = str(i - 1) if i > = 4 then i = i - 4 end if end sub private sub form_load() str(0) = "hello! " str(1) = "a " str(2) = "b " str(3) = "c " end sub | | |
|