BLOG main image
분류 전체보기 (65)
JSP (6)
Android (1)
ASP.NET (0)
MSSQL (4)
PHP (18)
ASP (11)
오픈 API (1)
HTML (2)
JavaScript (0)
Windows Programming (8)
컴퓨터교양 (14)
객체 지향 (0)
리뷰 및 생각 (0)
Visitors up to today!
Today hit, Yesterday hit
daisy rss
tistory 티스토리 가입하기!
2013. 9. 30. 23:27
[ASP]

오랜만에 asp 책을 들춰보니 dictionary 객체에 대해 초반부에 쓰여져 있었다.

분명히 읽고 지나갔을텐데, 이게 있었구나 하는 생각을 하는걸 보니,

그때는 dictionary 객체에 아무 감동도 쓸모도 못느꼈나보다.

 

 

원문) http://www.w3schools.com/asp/asp_ref_dictionary.asp

 

예제)

<%
Dim d
Set d=Server.CreateObject("Scripting.Dictionary")
d.Add "re","Red"
d.Add "gr","Green"
d.Add "bl","Blue"
d.Add "pi","Pink"
Response.Write("The value of key gr is: " & d.Item("gr"))
%>