Novità

xMIKE58

Zetrix

Advanced Premium Member
CIAO MIKE,
ho fatto questo script che scrive due numeri a scelta e verifica se questi numeri
sono usciti sulle due ruote descritte..
ma lo script in out scrive due numeri che non corrispondono ai numeri
scritti in input.box..

22.07.2023 TO 11.03.09.78.83 --> 9.83

invece dovrebbe scrivere soltanto il numero 9
ho scelto il 9 e un altro numero ma non l'83..


Codice:
Sub Main
   Dim r1,r2
   Dim num(2)
   '
   rk = InputBox(" Scrivi 1 numero ")
   rw = InputBox(" Scrivi 2 numero ")
   '
   rs = InputBox("Quante estrazioni vuoi controllare?",,0)
   '
   Ini = EstrazioneFin - rs
   fin = EstrazioneFin
   '
   For es = Ini To fin
      '
      For r1 = 8 To 9
         '
         For p1 = 1 To 4
            For p2 = p1 + 1 To 5
               '
               For rx = rk To rk
                  For rt = rw To rw
                     '
                     a = Estratto(es,r1,p1)
                     b = Estratto(es,r1,p2)
                     '
                     '
                     num(1) = a
                     num(2) = b
                     '
                     If rx = a Or rt = b Then
                        '
                        '
                        '
                        If num(1) = a Then
                           Scrivi DataEstrazione(es) & Space(5) & SiglaRuota(r1) & Space(5) & StringaEstratti(es,r1) & Space(5) & "--> " & StringaNumeri(num),0,1,1,5
                           '
                        Else
                           If num(2) = b Then
                              Scrivi DataEstrazione(es) & Space(5) & SiglaRuota(r1) & Space(5) & StringaEstratti(es,r1) & Space(5) & "--> " & StringaNumeri(num),0,1,5
                              '
                           End If
                        End If
                     End If
                  Next
               Next
            Next
         Next
      Next
   Next
End Sub
 
Ultima modifica:
Zetrix non posso aiutarti sono in vacanze e con pochi mezzi .
Spero che altri possono aiutarti .
.
 

Ultima estrazione Lotto

  • Estrazione del lotto
    sabato 19 luglio 2025
    Bari
    70
    37
    36
    68
    01
    Cagliari
    57
    02
    64
    33
    41
    Firenze
    18
    62
    09
    05
    06
    Genova
    36
    10
    74
    37
    42
    Milano
    39
    07
    58
    23
    22
    Napoli
    18
    69
    28
    36
    40
    Palermo
    71
    66
    72
    64
    23
    Roma
    19
    64
    39
    77
    10
    Torino
    83
    63
    71
    08
    72
    Venezia
    51
    83
    26
    50
    74
    Nazionale
    89
    81
    63
    32
    03
    Estrazione Simbolotto
    Nazionale
    16
    32
    21
    19
    03
Indietro
Alto