VBScript Sub Procedure
Sub Procedure
<html>
<head>
<script type="text/vbscript">
sub mySub()
msgbox("Example of sub procedure")
end sub
</script>
</head>
<body>
<script type="text/vbscript">
call mySub()
</script>
</body>
</html>
<html>
<head>
<script type="text/vbscript">
sub mySub()
msgbox("Example of sub procedure")
end sub
</script>
</head>
<body>
<script type="text/vbscript">
call mySub()
</script>
</body>
</html>