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
    sabato 24 gennaio 2026
    Bari
    26
    24
    81
    30
    32
    Cagliari
    84
    81
    48
    08
    49
    Firenze
    64
    30
    70
    12
    89
    Genova
    76
    71
    63
    88
    27
    Milano
    01
    28
    09
    06
    90
    Napoli
    74
    26
    50
    76
    24
    Palermo
    09
    75
    88
    65
    13
    Roma
    66
    13
    21
    65
    73
    Torino
    78
    02
    90
    51
    16
    Venezia
    23
    55
    60
    47
    17
    Nazionale
    14
    70
    74
    68
    20
    Estrazione Simbolotto
    Bari
    09
    18
    15
    38
    39
Indietro
Alto