<% dim d,a,i,s set d=Server.CreateObject("Scripting.Dictionary") d.Add "p", "RuanChen" d.Add "m", "MicroSoft" Response.Write("元素的值为:") a=d.Items for i = 0 To d.Count -1 s = s & a(i) & "" next Response.Write(s) set d=nothing %>
元素的值为:
效果会显示在右边 Create by 软晨网(RuanChen.com)