案例:ASP/ADO/VBScript案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
3
<head>
4
<script type="text/vbscript">
5
function myFunction()
6
 myFunction = "蓝色"
7
end function
8
</script>
9
</head>
10
11
<body>
12
<script type="text/vbscript">
13
document.write("我喜欢的颜色是:" & myFunction())
14
</script>
15
<p>函数程序可返回结果。</p>
16
</body>
17
18
</html>
19