浙江大学电开水器:asp 问题

来源:百度文库 编辑:神马品牌网 时间:2024/04/28 08:15:50
如何实现以下方法的调用
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 或 b 的值调用~!

不太明白你的意思,不过起码还是改成争取的了

if i = 1 then
call aaaa
else
call bbbb
end if

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

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