gamberorosso
Senior Member
Volevo che lo script si fermasse appena trova una situazione favorevole e non quella impostata.... praticamente se nei 10 colpi trova al 2 colpo la situazione si deve fermare.... e se si potesse mettere anche quelle non isotope grazie
Codice:
Sub Main()
Dim nu(3)
ini = EstrazioneFin - 50
fin = EstrazioneFin
For es = ini To fin
For r = 1 To 9
For p = 1 To 4
For pp = p3 + 1 To 5
a = Estratto(es-10,r,p) 'estrazioni indietro
b = Estratto(es-10,r,pp)
di1 = Distanza(a,b)
If di1 = 5 Then
For rr = r + 1 To 10
c = Estratto(es,rr,p)
d = Estratto(es,rr,pp)
di2 = Distanza(c,d)
If di2 = di1 Then
Scrivi String(110,"$")
ColoreTesto 2
ColoreTesto 1
Scrivi DataEstrazione(es-10) & " " & SiglaRuota(r) & " " & StringaEstratti(es-10,r) & " [" & a & "-" & b & "] ",0,0
Scrivi " 1^ ambo " & nu(2),1
Scrivi DataEstrazione(es) & " " & SiglaRuota(rr) & " " & StringaEstratti(es,rr) & " [" & c & "-" & d & "] ",0,0
Scrivi " 2^ ambo " & nu(3),1
End If
Next
End If
Next
Next
Next
Next
end sub
Ultima modifica: