百度推广怎么看排名:asp 调用问题

来源:百度文库 编辑:高校问答 时间:2024/05/11 04:15:35
如何实现使用 a 或 b 的值调用~!
a = "aaaa"
b = "bbbb"

if i = 1 then
call a(1)
else
call b(1)
end if

function aaaa(1)
Response.write "aaaa"
end function

function bbbb(1)
Response.write "bbbb"
end function

a = "aaaa"
b = "bbbb"

if i = 1 then
Response.write a
else
Response.write b
end if
这样就可以调用a,b的值了。