<html> <head><% sub vbproc(num1,num2) Response.Write(num1*num2) end sub %>
<script language="javascript" runat="server"> function jsproc(num1,num2) { Response.Write(num1*num2) } </script>
</head> <body> <p>结果:<%call vbproc(3,4)%>
</p> <p>结果:<%call jsproc(3,4)%>
</p> </body> </html>