R
Roby
Guest
Chiedo se qualcuno può modificare questo listato fatto dal gentilissimo Enplein, adesso mostra i numeri più probabili dopo il numero spia, quello che chiedo io invece è avere i numeri simpatici ossia i più frequenti sortiti assieme al numero spia.
Grazie
Sub main()
Scrivi "Spia - con 27 presenze X ambata con il numero + freq." & Chr(10)
Dim ru1(1),nr(10),nu(10),ex(27),sf(10),amb(1),posta(1)
posta(1)=1
ee=CInt(InputBox("Quante estrazioni vuoi esaminare 0 uguale ultima estrazione impostata in archivio ?",Florindi,32))
If ee="" Then Exit Sub
cl=CInt(InputBox("Quanti colpi ?",Florindi,18))
If cl="" Then Exit Sub
r1=CInt(InputBox(" Quale Ruota 1 Bari, 2 Cagliari, ecc.?",Florindi,1))
If r1="" Then Exit Sub
es=EstrazioneFin-ee
For nn=1 To 89
g=0
For i=0 To 3000
If Posizione(es-i,r1,nn)>0 Then g=g+1:ex(g)=es-i
If g=27 Then Exit For
Next
es2=ex(27)
Erase nu : Erase nr
ru1(1)=r1:h=0
de=Decina(nn)
For j=1 To 10
nu(j)=CInt (de&j)
If j=10 Then nu(j)=CInt((de+1)&"0")
Next
For i=1 To 10
nm=nu(i):k=0:sf(i)=0
For z=27 To 1 step -1
ok=0
For y=1 To 100
If SerieFreq ((ex(z)+y),(ex(z)+y),nu,ru1,1)>0 Then ok=1:es1=ex(z)+y
If ok=1 Then Exit For
Next
If Posizione(es1,r1,nm)>0 Then k=k+1
Next
sf(i)=sf(i)+k
Next
w=0
For x=1 To 10
If sf(x)=>6 Then w=1: amb(1)=nu(x)
Next
If w=1 Then 'Cerca le 10 presenze
Scrivi :scrivi
Scrivi" Dal "&dataestrazione(es2)&"("&es2&") al "&dataestrazione(es)&" ("&es&")"& Chr(10)
Scrivi "Spia : "&(nn)&" N° Presenze su Ruota di ---->"& NomeRuota (r1),1
Scrivi
Scrivi "Num. ",0,0
For i=1 To 10
Scrivi FormatSpace (nu(i),4),0,0
Next
Scrivi
Scrivi "Freq. ",0,0
For i=1 To 10
Scrivi FormatSpace(sf(i),4),0,0
Next
ImpostaGiocata 1,amb,ru1,posta,cl,1
Gioca es
End If
Next
Scrivi
ColoreTesto 0
Scrivi String(50,"=")& Chr(10)
Scrivi "°°°Enplein°°°",1
End Sub
Grazie
Sub main()
Scrivi "Spia - con 27 presenze X ambata con il numero + freq." & Chr(10)
Dim ru1(1),nr(10),nu(10),ex(27),sf(10),amb(1),posta(1)
posta(1)=1
ee=CInt(InputBox("Quante estrazioni vuoi esaminare 0 uguale ultima estrazione impostata in archivio ?",Florindi,32))
If ee="" Then Exit Sub
cl=CInt(InputBox("Quanti colpi ?",Florindi,18))
If cl="" Then Exit Sub
r1=CInt(InputBox(" Quale Ruota 1 Bari, 2 Cagliari, ecc.?",Florindi,1))
If r1="" Then Exit Sub
es=EstrazioneFin-ee
For nn=1 To 89
g=0
For i=0 To 3000
If Posizione(es-i,r1,nn)>0 Then g=g+1:ex(g)=es-i
If g=27 Then Exit For
Next
es2=ex(27)
Erase nu : Erase nr
ru1(1)=r1:h=0
de=Decina(nn)
For j=1 To 10
nu(j)=CInt (de&j)
If j=10 Then nu(j)=CInt((de+1)&"0")
Next
For i=1 To 10
nm=nu(i):k=0:sf(i)=0
For z=27 To 1 step -1
ok=0
For y=1 To 100
If SerieFreq ((ex(z)+y),(ex(z)+y),nu,ru1,1)>0 Then ok=1:es1=ex(z)+y
If ok=1 Then Exit For
Next
If Posizione(es1,r1,nm)>0 Then k=k+1
Next
sf(i)=sf(i)+k
Next
w=0
For x=1 To 10
If sf(x)=>6 Then w=1: amb(1)=nu(x)
Next
If w=1 Then 'Cerca le 10 presenze
Scrivi :scrivi
Scrivi" Dal "&dataestrazione(es2)&"("&es2&") al "&dataestrazione(es)&" ("&es&")"& Chr(10)
Scrivi "Spia : "&(nn)&" N° Presenze su Ruota di ---->"& NomeRuota (r1),1
Scrivi
Scrivi "Num. ",0,0
For i=1 To 10
Scrivi FormatSpace (nu(i),4),0,0
Next
Scrivi
Scrivi "Freq. ",0,0
For i=1 To 10
Scrivi FormatSpace(sf(i),4),0,0
Next
ImpostaGiocata 1,amb,ru1,posta,cl,1
Gioca es
End If
Next
Scrivi
ColoreTesto 0
Scrivi String(50,"=")& Chr(10)
Scrivi "°°°Enplein°°°",1
End Sub