Written on 2012年4月11日 @ 18:31 | by sc | Tags: 随机选双色球号码  

Val(Text1(2)
在网上 看 到 一个较量 好的 vb 代码-可是 有点不对-大小好象 没有 排序-代码上 好象有 排序的-可是不行.而且我想在 text中 生成的数字 假若是 个位数的话 就 加个0-变成01-02之类的. 请高手 看看 窜改 一下Privingested Sub Commin view thby visiting well in view thby visiting1_Click()Dim strTem As StringDim intTem As IntegerDim sNwin vi看着双色球在线机选号ew thby visitinge() As StringDim i As IntegerDim j As IntegerDim iTemp As IntegerDim aa As IntegerDointTem = Int(Rnd * (14 - 1)) + 1If InStr(1- strTem- CStr(intTem)) = 0 ThenstrTem = strT双色球机选软件em + CStr(intTem) + "."i = i + 1If i > 5 Then Exit DoEnd If双色球机选器LoopsNwin view thby visitinge() = Split(strTem- ".")For i = 0 To UBound(sNwin view thby visitinge()) - 1For j = 0 To i - 1If Ving(sNwin view thby visitinge(j)) > Ving(sNwin view thby visitinge(j + 1)) TheniTemp双色球在线选号 = sNwin view thby visitinge(j)sNwin view thby visitinge(j) = sNwin view thby visitinge(j + 1)sNwin view thby visitinge(你知道双色球机选号j + 1) = iTempEnd IfNextNextFor i = 想知道双色球怎么选号0 To UBound(sNwin view thby visitinge()) - 1Text1(i).Text = Formby visiting(sNwin view thby visitinge(i)- "00")NextText2.Text = Int(Rnd * (17 - 1)) + 1aa = Ving(Text1(0).Text) + _Ving(Text1(1).Text) + _Ving(Text彩票机选软件看着双色球选号器1(2).Text) + _Ving(Text1(3).Text) + _Ving(Text1(4).Text) + _Ving(Text1(5).Text)woulIf aa >= 90 And aa <= 100 ThenOpen "C:\Smore thsome kind of enough.txt" For Append As #1Print #1- Ving(Text1(0).Text) & " " & Ving(Text1(1).Text) & " " & Ving(Text1(2).Text) & "text " & Ving(Text1(3).Text) & " " & Ving(Text1(4).Text) & " " & Ving(Text1(5).Text) & " " & Ving(Text2.Text) & vbCrLfClose #1woulEnd IfEnd Sub
Privingested Sub Commin view thby visiting well in view thby visiting1_Click() Dim双色球幸运选号 strTem As String Dim intTem As Integer Dim sNwin view thby visitinge() As String Dim i As Integer Dim j As Integer Dim iTemp双色球选号你看怎么选双色球号码 As Integer Dim aa As Integer Do Rin view thby visiting well in view thby visiting你看双色球在线选号omize intTem = Int(Rnd * (14 - 1)) + 1 If InStr(1- strTem- CStr(intTem)) = 0 你知道双色球模拟机选Then strTem = strTem + CStr(intTem) + "." i = i + 1 If i > 5 Then Exit Do End If Loop sNwin view thby visitinge = Split(strTem- ".") For i = 0 To UBound(sNwin view thby visitinge) - 2 For j = i + 1 To相比看Val(Text1(2)对比一下湖南福彩网 UBound(sNwin view thby visitinge) - 1 If Ving(sNwin view thby visitinge(i)) > Ving(sNwin view thby visitinge(j)) Then iTemp = sNwin view thby visitinge(i) sNwin view thby visitinge(i) = sNwin view thby visitinge(j) sNwin view thby visitinge(j) = iTemp End If Next Next For i = 0 To UBound(sNwin view thby visitinge()) - 1 Text1(i).Text = Formby visiting(sNwin view thby visitinge(i)- "00") Next Text2.Text = Formby visiting(Int(Rnd * (17 - 1)) + 1- "00") aa = Ving(Text1(0).Text) + _ Ving(Text1(1).Text) + _ Ving(Text1(2).Text) + _ Ving(Text1(3).Text) + _ Ving(Text1(4).Text) + _ Ving(Text1(5).Text) woulIf aa >= 90 And aa <= 100 Then Open "C:\Smore thsome kind of enough.txt" For Append As #1 Print #1- Text1(0).Text & " " & Text1(1).Text & " " & Text1(2).Text & " " & Text1(3).Text & " " & Text1(4).Text & " " & Text1(5).Text & " " & Text2.Text & vbCrLf Close #1 woulEnd IfEnd Sub
text1其实福彩官网不会。
你的代码没有对生成的随机数实行排序。你上面这段代码是不能完成排序的。sNwin view thby visitinge() = Split(strTem-事实上双色球在线选号 ".") For i = 0 To UBound(sNwin view thby visitinge()) - 1 For j = 0 To i - 1 If Ving(sNwin view thby visitinge(j)) > Ving(sNwin view th学习双色球模拟选号机by visitinge(j + 1)) Then iTemp = sNwin view thby visitinge(j) sNwin view thby visitinge(j) = sNwin view thby visitinge(j + 1) sNwin view thby visitinge(j + 1) = iTemp End If Next Next For i = 0 To UBound(sN双色球模拟选号器win view thby visitinge()) - 1 Text1(i).Text = Formby visiting(sNwin view thby visitinge(i)- "00") Next

双色球在线机选器想知道随机选双色球
听听Val(Text1(2)
你看双色球机选中奖
双色球选号器
双色球智能机选
双色球选号器
val

  1. 0 Response to “Val(Text1(2)”

Post a Comment

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

About Me

中国福利彩票双色球预测专家预测双色球中奖规则福彩双色球走势图双色球玩法双色球开奖时间-双彩双色球工作室

Find entries :