ASP试题代码题.docx
- 文档编号:4096295
- 上传时间:2023-05-06
- 格式:DOCX
- 页数:21
- 大小:18.11KB
ASP试题代码题.docx
《ASP试题代码题.docx》由会员分享,可在线阅读,更多相关《ASP试题代码题.docx(21页珍藏版)》请在冰点文库上搜索。
ASP试题代码题
dimi,j,str
fori=1to9
str="
forj=1toi
str=str&"
next
str=str&"
document.writestr
'document.write"
next
*利用inputbox函数输入一串文字
--
name=inputbox("请输入贵公司名称:
","输入举例")
msgbox"您所在的公司是:
"&name
-->
*日期时间函数应用示例
--
msgbox"现在是:
"&now()
msgbox"今天的日期是:
"&date()
msgbox"今天的时间是:
"&time()
msgbox"今天的日期是"&year(date)&"年"&month(date)&"月"&day(date)&"日"
-->
*FOR···NEXT循环
请选择月份:
—
Fori=1to12
Document.write“”
Next
-->
月