Function getcode()
Dim QuesionNum
QuesionNum=10 '问题的总数,如要添加问题,请先修改这个数值
Dim CodeIndex
CodeIndex=0
Dim QuesionArray(100)
Dim AnswerArray(100)
QuesionArray(0)="请输入fa<font color=red>t</font>mouse中的第三个字母:t" '问题列表及答案,可自行修改
AnswerArray(0)="t"
QuesionArray(1)="请输入<font color=red>b</font>lurxx中的第一个字母:b" ‘最好把每个color都设置为不同的值,请输入等也设置成不一样意思差不多的各种文字
AnswerArray(1)="b"
QuesionArray(2)="请输入b<font color=red>l</font>urxx中的第二个字母:l"
AnswerArray(2)="l"
QuesionArray(3)="请输入bl<font color=red>u</font>rxx中的第三个字母:u"
AnswerArray(3)="u"
QuesionArray(4)="请输入blu<font color=red>r</font>xx中的第四个字母:r"
AnswerArray(4)="r"
QuesionArray(5)="请输入blur<font color=red>x</font>x中的第五个字母:x"
AnswerArray(5)="x"
QuesionArray(6)="请输入blurx<font color=red></font>x中的第六个字母:x"
AnswerArray(6)="x"
QuesionArray(7)="21世纪最缺少的是什么?"
AnswerArray(7)="天才"
QuesionArray(8)="请输入我国国歌名,提示:<font color=red>义勇军进行曲</font>"
AnswerArray(8)="义勇军进行曲"
QuesionArray(9)="中国有多少个民族,输入<font color=red>数字</font>即可"
AnswerArray(9)="56"
Randomize
CodeIndex = Int((QuesionNum * Rnd) + 0)
Session("GetCode") = AnswerArray(CodeIndex)
getcode = "<span style=""margin-right:40px;"">" & QuesionArray(CodeIndex) & "</span>"
End Function
asp曲线图汇总,包含很多asp曲线的代码
![star](https://csdnimg.cn/release/downloadcmsfe/public/img/star.98a08eaa.png)
![avatar](https://profile-avatar.csdnimg.cn/ec3f7ddd7f734ecd96187c1563d57583_yshjshxxn.jpg!1)
yshjshxxn
- 粉丝: 6
- 资源: 4
最新资源
- 应用开发-画布技术-时钟-功能性小程序-画布时钟小程序.zip
- 一份关于navicat的大纲教程!!!!
- 一份关于maven的教程!!!!!!!!
- 关闭系统自带杀毒Windows Defender安全中心移除系统自带杀毒软件(防止软件被拦截打不开工具包)
- 基于SSM框架的局域网多人在线聊天系统
- 一份关于网络安全的大纲教程!!!!!!!
- SAPIEN PowerShell Studio 2024 v5.8.240 是一款功能强大且全面的集成开发环境(IDE)
- 计算机网络基础.zip
- 一份关于vue开发大纲的教程!!!!!!
- Xceed Ultimate Suite 24.1.25154.0957 是一款全面的 .NET 组件和控件集合
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)