发射器图片大全:asp 调用问题

来源:百度文库 编辑:神马品牌网 时间:2024/05/09 05:18:07
如何实现使用 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的值了。