App下载

demo_exists 在线工具

demo_exists 在线工具

<html>
<body>

<FONT COLOR=#ff0000><%
dim d
set d=Server.CreateObject("Scripting.Dictionary")
d.Add "n", "Norway"
d.Add "i", "Italy"
if d.Exists("n")= true then
&nbsp;&nbsp;&nbsp; Response.Write("Key exists.")
else
&nbsp;&nbsp;&nbsp; Response.Write("Key does not exist.")
end if
set d=nothing
%></FONT>

</body>
</html>
运行结果