<html> <head> <% sub vbproc(num1,num2) response.write(num1*num2) end sub %> </head> <body> <p>您可以像这样调用一个程序:</p> <p>结果:<%call vbproc(3,4)%></p> <p>或者,像这样:</p> <p>结果:<%vbproc 3,4%></p> </body> </html>
<% sub vbproc(num1,num2) response.write(num1*num2) end sub %>
<%call vbproc(3,4)%>
<%vbproc 3,4%>