神奇宝贝先制攻击技能:asp 调用问题

来源:百度文库 编辑:中科新闻网 时间:2024/04/27 21:31:27
如何实现使用 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的值了。