用Call语句调用VBScript Sub过程代码示例

来源:岁月联盟 编辑:exp 时间:2008-11-22

<html>
<head>
<title>VBScript Sub 过程代码示例</title>
<script type="text/vbscript">
Sub myMulti(no1, no2)
MsgBox (no1*no2)
End Sub
</script>
</head>
<body>
<script type="text/vbscript">
call myMulti(8,9)
</script>
</body>
</html>
编辑文本后显示结果:

用Call语句调用VBScript Sub过程代码示例