首页 > 其他 > 详细

Dictionary

时间:2015-10-21 15:22:52      阅读:249      评论:0      收藏:0      [点我收藏+]
Dim dict
Set dict = CreateObject("Scripting.Dictionary")
dict.Add "name","jack"
dict.Add "age","18"

arrKey = dict.Keys
arrItem = dict.Items
For i = 0 To dict.Count - 1
    Response.write(arrKey(i) & "=" & arrItem(i) & "<br/>") 
Next

If dict.Exists("age") Then
    If dict.Item("age") = 18 Then
        dict.Remove("age")
    End If
End If

 

Dictionary

原文:http://www.cnblogs.com/zenple/p/4897761.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!