摘要:
1、存在 dim d set d=Server.CreateObject("Scripting.Dictionary") d.Add "c", "China" d.Add "i", "Italy" if d.Exists("c")= true then Response.Write("键存在。") 阅读全文
摘要:
由于ASP不能使用GOTO语句,我在FOR循环中加入一个FOR循环,若需要跳出,即退出最里面那个FOR循环。 DEMO: <%dim aa = 0for i = 1 to 10 for j = 1 to 1 a = a + 1 if i = 5 then 'a=5不会输出 exit for end 阅读全文