标题:andeyliuyan
只看楼主
23760639
Rank: 1
等 级:新手上路
帖 子:277
专家分:0
注 册:2005-5-13
 问题点数:0 回复次数:1 
andeyliuyan

Private Sub Form_Click() Dim a(10) As Boolean Cls For i = 1 To 10 10: x = Int(Rnd * (10) + 1) If a(x) = False Then Print x: a(x) = True Else GoTo 10 Next i

End Sub

Private Sub Form_Load() Randomize End Sub

搜索更多相关主题的帖子: andeyliuyan 
2005-07-12 20:32
程序人
Rank: 2
等 级:新手上路
威 望:3
帖 子:195
专家分:0
注 册:2005-4-5
得分:0 
But what are you  going to do???

洒家靠!悟空:我给你说过N遍了,叫你不要说我帅!虽然我承认我很帅!!
2005-07-16 22:48



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-22779-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.015591 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved