我們就以asp教程來舉例說明關於
<%
call getmynumber(aa
response
function getmynumber(byref aa
aa=
bb=
cc =
end function
%> 這裡是利用了byref再看詳細的
sub test(byref a as integer
a =
b =
end sub
sub main()
dim a as integer
dim b as integer
a =
b =
test a
msgbox "a=" & a & ";b=" & b
end sub
輸出結果 a=
From:http://tw.wingwit.com/Article/program/net/201311/12078.html