最近在系统地认真地学习ASP````看以下例子````
Code
<%
dim d,a,i
set d=Server.CreateObject("Scripting.Dictionary")
d.Add "n","Norway"
d.Add "i","Italy"
d.Add "s","Sweden"
Response.Write("
Key values:</p>")
a=d.Keys
for i=0 to d.Count-1
Response.Write(a(i))
Response.Write("
")
next
set d=nothing
%>
Output:
Key values:
n
i
s
==================================================================
为什么要用一个中间变量a让我困惑很久```在本地测试了一下````
<
...
Read more »