Novità

x Salvo 50 e altri x cortesia un listato x spaziometria

Ciao a Tutti

Dragon8698
GRAZIE

Codice:
Option Explicit
Sub Main
   Dim FIn,Ini,A,B,C,D,E,Clp1,Clp2,Es,Cer
   Dim R1,R2,R3,P1,P2,P3,P4,P5,Salvo50
   Dim DM12,DM23,DM34,DM41,Caso,Casi
   Dim Amba(1),Ambo1(2),Ambo2(2),Ambo3(2),Ruo1(2)
   Dim Posta1(1),Posta2(2),L(6),M(4),N(4),Ruo2(4)
   FIn = EstrazioneFin
   Ini = CInt(InputBox("Inserisci l'estrazione che vuoi iniziare",Salvo50,10100))'Estrazine 9602 Esempio Nell'articolo
   Clp1 = CInt(InputBox(" Per quanti colpi vuoi giocare l'ambata?",Salvo50,5))
   Clp2 = CInt(InputBox(" Per quanti colpi vuoi giocare gli ambi?",Salvo50,13))
   Cer = CInt(InputBox(" Vuoi visualizzare il cerchio ciclometrico? SI = 1, NO un qualsiasi altro numero ",Salvo50,1))
   Scrivi Space(14) & "L'ordine Ciclometrico 1 di Angelo Gargiulo - Script Salvo50" & Space(14),1,,4,,3,,1
   Posta1(1) = 1
   Posta2(2) = 1
   For Es = Ini To FIn
      Messaggio Es
      AvanzamentoElab Ini,FIn,Es
      Caso = 0
      For R1 = 1 To 10
         For P1 = 1 To 5
            A = Estratto(Es,R1,P1)
            For R2 = R1 + 1 To 12
               If R2 = 11 Then R2 = 12
               For P2 = 1 To 3
                  For P3 = P2 + 1 To 4
                     For P4 = P3 + 1 To 5
                        B = Estratto(Es,R2,P2)
                        C = Estratto(Es,R2,P3)
                        D = Estratto(Es,R2,P4)
                        If A > 0 And B > 0 Then
                           If A <> B And A <> C And A <> D Then
                              M(1) = A : M(2) = B : M(3) = C : M(4) = D
                              Call OrdinaMatrice(M,1)
                              DM12 = Distanza(M(1),M(2)) : DM23 = Distanza(M(2),M(3))
                              DM34 = Distanza(M(3),M(4)) : DM41 = Distanza(M(4),M(1))
                              If DM12 = 18 And DM23 = 9 And DM34 = 36 And DM41 = 27 _
                                 Or DM23 = 36 And DM34 = 27 And DM41 = 18 And DM12 = 9 _
                                 Or DM34 = 18 And DM41 = 9 And DM12 = 36 And DM23 = 27 _
                                 Or DM41 = 36 And DM12 = 27 And DM23 = 18 And DM34 = 9 Then
                                 '---------------------------------
                                 If DM12 = 18 And DM23 = 9 And DM34 = 36 And DM41 = 27 Then
                                    L(1) = M(1) : L(2) = M(2) : L(3) = M(3) : L(4) = M(4)
                                 End If
                                 If DM23 = 36 And DM34 = 27 And DM41 = 18 And DM12 = 9 Then
                                    L(1) = M(4) : L(2) = M(1) : L(3) = M(2) : L(4) = M(3)
                                 End If
                                 If DM34 = 18 And DM41 = 9 And DM12 = 36 And DM23 = 27 Then
                                    L(1) = M(3) : L(2) = M(4) : L(3) = M(1) : L(4) = M(2)
                                 End If
                                 If DM41 = 36 And DM12 = 27 And DM23 = 18 And DM34 = 9 Then
                                    L(1) = M(2) : L(2) = M(3) : L(3) = M(4) : L(4) = M(1)
                                 End If
                                 L(5) = Diametrale(L(3))
                                 For R3 = 1 To 12
                                    If R3 = 11 Then R3 = 12
                                    For P5 = 1 To 5
                                       E = Estratto(Es,R3,P5)
                                       If R3 <> R1 And R3 <> R2 Then
                                          If E = L(3) Then
                                             N(1) = L(5)
                                             N(2) = Fuori90(N(1) + 9)
                                             N(3) = Fuori90(N(2) + 18)
                                             N(4) = Fuori90(N(3) + 27)
                                             Amba(1) = N(1)
                                             Ambo1(1) = N(1): Ambo1(2) = N(2)
                                             Ambo2(1) = N(1): Ambo2(2) = N(3)
                                             Ambo3(1) = N(1): Ambo3(2) = N(4)
                                             Caso = Caso + 1
                                             Casi = Casi + 1
                                             Scrivi String(89,"*") & " Casi Totali " & FormattaStringa(Casi,"0000"),1,,,1
                                             Scrivi String(80,"*") & " Estrazione " &(Es) & " caso " & FormattaStringa(Caso,"0000"),1,,,2
                                             Scrivi
                                             ReDim MatrCasella(5,1)
                                             MatrCasella(1,0) = R1
                                             MatrCasella(1,1) = P1
                                             MatrCasella(2,0) = R2
                                             MatrCasella(2,1) = P2
                                             MatrCasella(3,0) = R2
                                             MatrCasella(3,1) = P3
                                             MatrCasella(4,0) = R2
                                             MatrCasella(4,1) = P4
                                             MatrCasella(5,0) = R3
                                             MatrCasella(5,1) = P5
                                             Call DisegnaEstrazione(Es,MatrCasella,,vbBlue)
                                             Scrivi
                                             Scrivi Space(24) & " Ambata",1,,,2
                                             Scrivi Space(17) & " Diametrale di " & Format2(L(3)) & " = ",1,0
                                             Scrivi Format2(L(5)),1,,,2
                                             Scrivi Space(17) & " Abbinamenti Per Ambo ",1,,,1
                                             Scrivi Space(20) & Format2(N(2)) & " Abbinamento 1 ",1
                                             Scrivi Space(20) & Format2(N(3)) & " Abbinamento 2 ",1
                                             Scrivi Space(20) & Format2(N(4)) & " Abbinamento 3 ",1
                                             Scrivi
                                             If Cer = 1 Then
                                                DisegnaCerchioCiclometrico M,1,1,,,1,1
                                                DisegnaCerchioCiclometrico L,1,1,,,1,1
                                                DisegnaCerchioCiclometrico N,1,1,,,1,1
                                             End If
                                             Scrivi
                                             Ruo1(1) = R1 : Ruo1(2) = R2
                                             Ruo2(1) = R1 : Ruo2(2) = R2 : Ruo2(3) = NZ_ : Ruo2(4) = TT_
                                             ImpostaGiocata 1,Amba,Ruo1,Posta1,Clp1
                                             ImpostaGiocata 2,Ambo1,Ruo2,Posta2,Clp2
                                             ImpostaGiocata 3,Ambo2,Ruo2,Posta2,Clp2
                                             ImpostaGiocata 4,Ambo3,Ruo2,Posta2,Clp2
                                             Gioca Es,1
                                          End If
                                       End If
                                    Next
                                 Next
                              End If
                           End If
                        End If
                     Next
                  Next
               Next
            Next
         Next
      Next
      If ScriptInterrotto Then Exit Sub
   Next
   ScriviResoconto
   Scrivi " Tempo Trascorso" & TempoTrascorso
End Sub
 

Ultima estrazione Lotto

  • Estrazione del lotto
    giovedì 23 luglio 2026
    Bari
    76
    59
    64
    45
    15
    Cagliari
    58
    75
    33
    44
    42
    Firenze
    84
    04
    10
    15
    82
    Genova
    89
    81
    74
    02
    65
    Milano
    17
    48
    04
    07
    75
    Napoli
    31
    54
    18
    26
    33
    Palermo
    30
    57
    78
    06
    29
    Roma
    85
    75
    08
    09
    62
    Torino
    40
    18
    13
    66
    73
    Venezia
    13
    78
    59
    23
    04
    Nazionale
    34
    59
    37
    27
    86
    Estrazione Simbolotto
    Nazionale
    41
    05
    38
    30
    14
Indietro
Alto