32.1脚本语言程序的嵌入规则 VBScript代码写在成对的< SCRIPT>标记之间。 <SCRIPT LANGUAGE=" VBScript el se function disphelloo str1="下午好! dim hours, strl end if hours= hour(now o) msgbox strl f cint(hours)<12 then end function str1="上午好! </SCRIPT>3.2.1 脚本语言程序的嵌入规则 VBScript 代码写在成对的 <SCRIPT> 标记之间。 <SCRIPT LANGUAGE="VBScript"> function disphello() dim hours,str1 hours= hour(now()) if cint(hours)<12 then str1="上午好!" else str1="下午好!" end if msgbox str1 end function </SCRIPT>