<script language="vbs">
    'VBScript内置函数
    'msgbox "now()"&now()
    'msgbox "date()"&date()
    'msgbox "time()"&time()
    'msgbox "year()"&year(date())
    'msgbox "month()"&month(date)
    'msgbox "day()"&day(date)
    'msgbox "hour()"&hour(time)
    'msgbox "minute()"&minute(time)
    'msgbox "second()"&seconD(time)
    '函数使不区分大小写的
   
    '平方根
    'msgbox sqr(4)
   
    '求绝对值
    'msgbox abs(-10)
   
    '判断是否是数字
    'msgbox isnumeric(2)
    'msgbox isnumeric("a")
   
    '弹出一个信息框
    'msgbox 的第二个参数是图标名称
    'msgbox 的第三个参数是标题
    'msgbox "d",VbQuestion,"我是标题"
    'msgbox是有返回值的,返回值是用户按下的按钮的值
    msgbox "d",2
</script>