|
<%
dim za1(3),za2
za1(0) = "fdas,t,t,f,f"
za1(1) = "fdreqt,f,t,f,f"
for zi = 0 to ubound(za1)
if za1(zi) <> "" And Not IsNull(za1(zi)) Then
za2 = null
za2 = split( za1(zi),",")
for zj = 0 to ubound( za2)
response.write za2(zj) & " ---|| "
next
response.write "<br>"
'za2 = null
%>
<!-- 下面这样写当ZA2的长度小于2 时会出错 -->
<TR>
<td> <%=za2(0)%></td>
<td> <%=za2(1)%></td>
</TR>
<% '加入這部分就有error,為何?超出范圍
end If
next
%> |
|