Novità

Per Salvo50

Duplex

Advanced Member >PLATINUM PLUS<
Ciao Salvo,mi affido a te per modificare questo script sui radicali. Lanciato su Spaziometria dà errori. Lo script è vecchio e non ricordo l'autore. Puoi fare qualcosa?
Sub main()
Dim nc(4),nr(3),num(1),poste(10)
Dim ruote(4),posta(3),nu1(5),ruota(4),nu2(5)
posta(2)=1 posta(3)=1 poste(1)=1
fin=EstrazioneFin
ini=fin-150
For es=ini To Fin
AvanzamentoElab ini,fin,es
For r1=1 To 12
If r1=11 Then r1=12
For p1 = 1 To 4
For p2=p1+1 To 5
If p1+1=p2 Then
a = Estratto (es,r1,p1)
b = Estratto (es,r1,p2)
If Radicale(a) And Radicale(b) And Radicale(a)=Radicale(b) Then
For r2=1 To 12
If r2=11 Then r2=12
If r1<>r2 Then
For p3=1 To 5
c = Estratto (es,r2,p3)
If (Radicale(c) And Radicale(a)=Radicale(c) Or Radicale(b)=Radicale(c)) Then
If a<>c And b<>c And (p3=p1 Or p3=p2) Then
If p3=p1 Then d=Estratto (es,r2,p2) Else d=Estratto (es,r2,p1)
nr(1)=a:nr(2)=b:nr(3)=c
rd=Radicale (a)
nc(1)=rd:nc(2)=CInt (rd&"0"):nc(3)= CInt(rd&rd):nc(4)=CInt (rd&9)
For j=1 To 4
h=0
For i=1 To 3
If nc(j)<>nr(i) Then h=h+1
Next
If h=3 Then num(1)=nc(j) : Exit For
Next
ruote(1)=r1:ruote(2)=r2:ruota(1)=11:k=14:co=0
nu2(1)=num(1)'ambata
poste(1)=1 : poste(p1+5)=1 : poste(p2+5)=1
co=co+1
ImpostaGiocata co,nu2,ruote,poste,k
Erase Poste
nu1(1)=num(1)'ambata
nu1(2)=d
nu1(3)=Abs(d-num(1))
nu1(4)=Fuori90(d+num(1))
co=co+1
ImpostaGiocata co,nu1,ruote,posta,k
co=co+1
ImpostaGiocata co,nu1,ruota,post,k
casi=casi+1:Scrivi String(75,"=")
Scrivi DataEstrazione(es,1)&" [ "&SiglaRuota(r1)&" - "&StringaEstratti(es,r1)&" ] [ "&_
Format2(a)&"."&format2(b)&" ] in "&(p1)&"^--"&(p2)&"^ pos."
Scrivi DataEstrazione(es,1)&" [ "&SiglaRuota(r2)&" - "&StringaEstratti(es,r2)&" ] [ "&_
Format2(c)&"."&format2(d)&" ]in "&(p1)&"^--"&(p2)&"^ pos."
Scrivi "Nume. manc. ("& Format2 (num(1))&")",1
Scrivi String(60,"-")&" caso n° "&(casi)
Gioca es
End If
End If
Next
End If
Next
End If
End If
Next
Next
Next
Next
ScriviResoconto
End Sub
 
Ultima modifica:
Ciao a Tutti
Ciao Duplex

Andava in errore e l'ho corretto, sembra che non sia stato fatto per SpazioMetria
Comuque con l'errore che aveva, non avrebbe funzionato neanche con altri
programmi diversi da SpazioMetria


Codice:
Sub Main()
   Dim nc(4),nr(3),num(1),poste(10),post(2)
   Dim ruote(4),posta(3),nu1(5),ruota(4),nu2(5)
   posta(2) = 1:posta(3) = 1:poste(1) = 1 : post(2) = 1
   fin = EstrazioneFin
   ini = fin - 150
   For es = ini To Fin
      AvanzamentoElab ini,fin,es
      For r1 = 1 To 12
         If r1 = 11 Then r1 = 12
         For p1 = 1 To 4
            For p2 = p1 + 1 To 5
               If p1 + 1 = p2 Then
                  a = Estratto(es,r1,p1)
                  b = Estratto(es,r1,p2)
                  If Radicale(a) And Radicale(b) And Radicale(a) = Radicale(b) Then
                     For r2 = 1 To 12
                        If r2 = 11 Then r2 = 12
                        If r1 <> r2 Then
                           For p3 = 1 To 5
                              c = Estratto(es,r2,p3)
                              If(Radicale(c) And Radicale(a) = Radicale(c) Or Radicale(b) = Radicale(c)) Then
                                 If a <> c And b <> c And(p3 = p1 Or p3 = p2) Then
                                    If p3 = p1 Then
                                       d = Estratto(es,r2,p2)
                                    Else
                                       d = Estratto(es,r2,p1)
                                    End If
                                    nr(1) = a : nr(2) = b : nr(3) = c
                                    rd = Radicale(a)
                                    nc(1) = rd : nc(2) = CInt(rd & "0") : nc(3) = CInt(rd & rd) : nc(4) = CInt(rd & 9)
                                    For j = 1 To 4
                                       h = 0
                                       For i = 1 To 3
                                          If nc(j) <> nr(i) Then h = h + 1
                                       Next
                                       If h = 3 Then num(1) = nc(j) : Exit For
                                    Next
                                    ruote(1) = r1:ruote(2) = r2
                                    ruota(1) = 11
                                    k = 14
                                    co = 0
                                    nu2(1) = num(1)'ambata
                                    poste(1) = 1 : poste(p1 + 5) = 1 : poste(p2 + 5) = 1
                                    co = co + 1
                                    ImpostaGiocata co,nu2,ruote,poste,k
                                    Erase poste
                                    nu1(1) = num(1)'ambata
                                    nu1(2) = d
                                    nu1(3) = Abs(d - num(1))
                                    nu1(4) = Fuori90(d + num(1))
                                    co = co + 1
                                    ImpostaGiocata co,nu1,ruote,posta,k
                                    co = co + 1
                                    ImpostaGiocata co,nu1,ruota,post,k
                                    casi = casi + 1:Scrivi String(75,"=")
                                    Scrivi DataEstrazione(es,1) & " [ " & SiglaRuota(r1) & " - " & StringaEstratti(es,r1) & " ] [ " & _
                                    Format2(a) & "." & Format2(b) & " ] in " &(p1) & "^--" &(p2) & "^ pos."
                                    Scrivi DataEstrazione(es,1) & " [ " & SiglaRuota(r2) & " - " & StringaEstratti(es,r2) & " ] [ " & _
                                    Format2(c) & "." & Format2(d) & " ]in " &(p1) & "^--" &(p2) & "^ pos."
                                    Scrivi "Nume. manc. (" & Format2(num(1)) & ")",1
                                    Scrivi String(60,"-") & " caso n° " &(casi)
                                    Gioca es
                                 End If
                              End If
                           Next
                        End If
                     Next
                  End If
               End If
            Next
         Next
      Next
   Next
   ScriviResoconto
End Sub
 

Ultima estrazione Lotto

  • Estrazione del lotto
    martedì 17 febbraio 2026
    Bari
    40
    72
    47
    39
    63
    Cagliari
    03
    66
    47
    27
    35
    Firenze
    14
    62
    53
    08
    51
    Genova
    55
    12
    81
    52
    04
    Milano
    41
    31
    55
    23
    59
    Napoli
    30
    09
    38
    14
    50
    Palermo
    19
    86
    40
    32
    07
    Roma
    65
    88
    51
    42
    41
    Torino
    10
    06
    34
    84
    81
    Venezia
    06
    25
    82
    24
    52
    Nazionale
    10
    74
    04
    29
    88
    Estrazione Simbolotto
    Cagliari
    01
    41
    21
    44
    28
Indietro
Alto