最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
一个不错的随机函数。
时间:2022-07-02 23:26:45 编辑:袖梨 来源:一聚教程网
<%
Dim myarr
For i = 0 To 100
Randomize
no = Int((1000-1+1)*Rnd+1)
For j = 0 To i
If no <> myarr(j) And no <> "" Then
j = j + 1
Else
Exit For
End If
myarr(i) = no
Next
If i = 21 Then
Exit For
End If
Next
%>
Dim myarr
For i = 0 To 100
Randomize
no = Int((1000-1+1)*Rnd+1)
For j = 0 To i
If no <> myarr(j) And no <> "" Then
j = j + 1
Else
Exit For
End If
myarr(i) = no
Next
If i = 21 Then
Exit For
End If
Next
%>
相关文章
- 剑与黎明零氪萌新阵容搭配攻略 07-30
- 王者荣耀世界两生关逸事任务攻略详解 07-30
- 金铲铲之战s8怪兽入侵赛季何时返场? 07-30
- 魔兽世界征服印记购买地点-征服印记饰品在哪买 07-30
- 无畏契约好用准星推荐-准心代码大全 07-30
- 聪明开局吧第351关怎样找出19个常用字-聪明开局吧第351关找出19个常用字的过关方法 07-30