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
    martedì 03 febbraio 2026
    Bari
    26
    30
    24
    71
    38
    Cagliari
    07
    71
    77
    64
    16
    Firenze
    15
    23
    49
    50
    66
    Genova
    65
    85
    01
    03
    68
    Milano
    79
    21
    03
    43
    54
    Napoli
    65
    72
    89
    76
    43
    Palermo
    20
    50
    26
    72
    77
    Roma
    75
    76
    31
    77
    51
    Torino
    52
    47
    11
    14
    08
    Venezia
    84
    41
    88
    13
    47
    Nazionale
    19
    03
    34
    61
    48
    Estrazione Simbolotto
    Cagliari
    05
    12
    13
    20
    38
Indietro
Alto