Hyjia's Blog

-----------------------------------------------------------------------------

用户操作
[即时聊天] [发私信] [加为好友]
hyjiaID:hyjia
1809次访问,排名2万外,好友1人,关注者1人。
hyjia的文章
原创 5 篇
翻译 0 篇
转载 0 篇
评论 24 篇
hyjia的公告
马上毕业了!
最近评论
文章分类
收藏
    相册
    技术链接
    朋友链接
    Hyjia的WEB作品
    Neil
    存档
    软件项目交易
    订阅我的博客
    XML聚合  FeedSky
    订阅到鲜果
    订阅到Google
    订阅到抓虾
    订阅到BlogLines
    订阅到Yahoo
    订阅到GouGou
    订阅到飞鸽
    订阅到Rojo
    订阅到newsgator
    订阅到netvibes
    2006年06月19日

    原创 实现不重复出题关键代码

    function createrandomid(p1,p2,p3) 'p1:numtype1 p2:类型 p3:maxtype1 '/////////////返回试题编号集合 '/////////////eg: p1=numtype1,p2=1 dim i,j,maxtype i=p1 if i=0 then createrandomid="" else j=0 maxtype=p3 dim tarray(20) sql="select * from 试题 where 类型="&p2&" and 难度系数 in ("&diffindex&") and 知识点 in ("&kpoint&")" rs.open sql,conn,1,1 '//////////实现不重复出题的关键代码 while(i>0) randomize a=int(maxtype*rnd) doublequ=0 rs.movefirst rs.move a for each qu in tarray if qu阅读全文>

    发表于 @ 2006年06月19日 14:59:00|评论(loading...)|编辑

    Csdn Blog version 3.1a
    Copyright © hyjia