Novità

AMBI UGUALI STESSA ESTRAZIONEE

Ciao Alberto, ecco uno script.. ricerca tutti gli ambi uguali anche non isotopi.

Gio.


Codice:
Option Explicit
Sub Main
   ColoreTesto 0
   Scrivi " ***** nome metodo [autore] *****",1
   Scrivi
   ColoreTesto 0
   Dim Fin,Ini,Es,R1,R2,Caso,Casi,P1,P2,P3,P4,Ruote(2)
   Dim N1,N2,N3,N4
   Fin = EstrazioneFin
   Ini = InputBox("Inserisci l'estrazione che vuoi iniziare",,9572)
   Call ScegliRange(EstrazioneIni,Fin,Ini,EstrazioneFin)
   For Es = Ini To Fin
      Caso = 0
      AvanzamentoElab Ini,Fin,Es
      For R1 = 1 To 10
         For R2 = R1 + 1 To 12
            If R2 = 11 Then R2 = 12
            For P1 = 1 To 4
               For P2 = P1 + 1 To 5
                  For P3 = 1 To 4
                     For P4 = P3 + 1 To 5
                        N1 = Estratto(Es,R1,P1)
                        N2 = Estratto(Es,R1,P2)
                        N3 = Estratto(Es,R2,P3)
                        N4 = Estratto(Es,R2,P4)
                        If N1 = N3 Then
                           If N2 = N4 Then
                              Caso = Caso + 1
                              Casi = Casi + 1
                              Scrivi String(40,"*") & " Casi Totali " & FormattaStringa(Casi,"0000") & String(40,"*"),1,,,1
                              Scrivi String(80,"*") & " Estrazione " &(Es) & " caso " & FormattaStringa(Caso,"0000"),1,,,2
                              Scrivi(" Estrazione n." & Format2(Es) & " del " & DataEstrazione(Es)),1,0
                              Scrivi "  " & SiglaRuota(R1) & " " & StringaEstratti(Es,R1),1
                              Scrivi(" Estrazione n." & Format2(Es) & " del " & DataEstrazione(Es)),1,0
                              Scrivi "  " & SiglaRuota(R2) & " " & StringaEstratti(Es,R2),1
                              Scrivi Space(40) & Format2(N1) & " " & Format2(N2),1,,,2
                              Scrivi
                              Gioca Es,1,,1
                           End If
                        End If
                     Next
                  Next
               Next
            Next
         Next
      Next
   Next
   ColoreTesto 0
   Scrivi String(65,"•")
   TestoInBandaPassante " ***** nome metodo [autore] ***** ",1,3,0
   ScriviDistribuzioneEsiti(True)
   ScriviDistribuzioneCasiInCorso(True)
   ScriviResoconto
End Sub
 
Ciao Alberto, ecco uno script.. ricerca tutti gli ambi uguali anche non isotopi.

Gio.


Codice:
Option Explicit
Sub Main
   ColoreTesto 0
   Scrivi " ***** nome metodo [autore] *****",1
   Scrivi
   ColoreTesto 0
   Dim Fin,Ini,Es,R1,R2,Caso,Casi,P1,P2,P3,P4,Ruote(2)
   Dim N1,N2,N3,N4
   Fin = EstrazioneFin
   Ini = InputBox("Inserisci l'estrazione che vuoi iniziare",,9572)
   Call ScegliRange(EstrazioneIni,Fin,Ini,EstrazioneFin)
   For Es = Ini To Fin
      Caso = 0
      AvanzamentoElab Ini,Fin,Es
      For R1 = 1 To 10
         For R2 = R1 + 1 To 12
            If R2 = 11 Then R2 = 12
            For P1 = 1 To 4
               For P2 = P1 + 1 To 5
                  For P3 = 1 To 4
                     For P4 = P3 + 1 To 5
                        N1 = Estratto(Es,R1,P1)
                        N2 = Estratto(Es,R1,P2)
                        N3 = Estratto(Es,R2,P3)
                        N4 = Estratto(Es,R2,P4)
                        If N1 = N3 Then
                           If N2 = N4 Then
                              Caso = Caso + 1
                              Casi = Casi + 1
                              Scrivi String(40,"*") & " Casi Totali " & FormattaStringa(Casi,"0000") & String(40,"*"),1,,,1
                              Scrivi String(80,"*") & " Estrazione " &(Es) & " caso " & FormattaStringa(Caso,"0000"),1,,,2
                              Scrivi(" Estrazione n." & Format2(Es) & " del " & DataEstrazione(Es)),1,0
                              Scrivi "  " & SiglaRuota(R1) & " " & StringaEstratti(Es,R1),1
                              Scrivi(" Estrazione n." & Format2(Es) & " del " & DataEstrazione(Es)),1,0
                              Scrivi "  " & SiglaRuota(R2) & " " & StringaEstratti(Es,R2),1
                              Scrivi Space(40) & Format2(N1) & " " & Format2(N2),1,,,2
                              Scrivi
                              Gioca Es,1,,1
                           End If
                        End If
                     Next
                  Next
               Next
            Next
         Next
      Next
   Next
   ColoreTesto 0
   Scrivi String(65,"•")
   TestoInBandaPassante " ***** nome metodo [autore] ***** ",1,3,0
   ScriviDistribuzioneEsiti(True)
   ScriviDistribuzioneCasiInCorso(True)
   ScriviResoconto
End Sub
 

Ultima estrazione Lotto

  • Estrazione del lotto
    martedì 18 febbraio 2025
    Bari
    72
    83
    64
    59
    43
    Cagliari
    60
    55
    49
    07
    14
    Firenze
    11
    68
    62
    04
    21
    Genova
    86
    23
    44
    85
    71
    Milano
    11
    82
    42
    09
    14
    Napoli
    89
    86
    65
    49
    14
    Palermo
    79
    34
    80
    78
    20
    Roma
    26
    21
    13
    64
    57
    Torino
    64
    11
    17
    02
    58
    Venezia
    64
    82
    30
    04
    19
    Nazionale
    26
    37
    68
    54
    87
    Estrazione Simbolotto
    Cagliari
    39
    30
    04
    11
    14
Indietro
Alto