发布于 2006-07-17 11:54:20
0楼
VBS中不是有len、trim函数吗?结合一个就行了。
if Len(Trim(M(i))=0 then
另外也可以用循环啊。
Dim Index(8),i
Index(1)=7
Index(2)=8
Index(3)=5
Index(4)=6
Index(5)=3
Index(6)=4
Index(7)=1
Index(8)=2
for i=1 to 8
if Len(Trim(M(i))<>0 then
M(0)=M(0)+M(Index(i))
endif
next i
无论成与败,无论甜与苦,我还是我。