没有参数的VBScript Sub过程代码示例

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

<html>
<head>
<title>没有参数的 VBScript Sub 过程代码示例</title>
<script type="text/vbscript">
sub myProc()
msgbox "欢迎来到站长站长书库 站长网页教程网站 book.chinaz.com"
end sub
</script>
</head>
<body>
<script type="text/vbscript">
call myProc()
</script>
<p>VBScript Sub 过程不返回值。</p>
</body>
</html>

  编辑文本后显示结果:

  没有参数的VBScript Sub过程代码示例

  VBScript Sub 过程不返回值。