Follow along with the video below to see how to install our site as a web app on your home screen.
Nota: This feature may not be available in some browsers.
Forse sono stato poco felice nello spiegarmi, ma con un esempio pratico mi farò capire sicuramente.
Sulla ruota di BARI abbiamo 3 ambi in pendenza...
[TABLE="class: cms_table"]
[TR]
[TD="class: cms_table_xl65, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: cms_table_xl65, bgcolor: transparent"]02.01.2013 82.63 (ambo unito)
[/TD]
[/TR]
[TR]
[TD="class: cms_table_xl65, bgcolor: transparent"]05.01.2013 87.58 (ambo unito)
[/TD]
[/TR]
[/TABLE]
...in pratica uno script che selezioni solo quelli uniti come questi due 82.63 e 87.58, poichè se noti sulle altre
10 ruote sono veramnte pochi. Inoltre, come statistica vuole, che gli ambi uniti, specie se CSP
si "rompono" prima di quelli in altre posizioni. Spero ora d'essermi chiarito.
Sono a disposizione...
Scusa se riprendo questo esempio ... ma ...
Uniti significa (magicamente) trascurando l'estrazione intermedia del 3 Gennaio 2013 ?
...praticamente si!
dobbiamo selezionare solo quei ambi che sortiscono uniti all'interno delle cinquine CSP
Sub Main
'Cinquine Sincrone Particolari di Antonio Cretella
'Script V_4.1 By Joe. Alba 05/02/2013
'Legenda: Re = Ritardo all' Estrazione / IS = Increnento Storico / Rc = Ritardo Corrente
'Le -New-Entry- sono evidenziate in colore Blu / "<<<" indica Sincronismo Continuo (o residuale)
Dim E(5),Tmp(1),Ru(1),Re(5),Bi(2),Mx(12)
ST = InputBox("A = Attuale / S = Storici","CALCOLO STORICO ?","A")
UT = InputBox("U = Unite / T = Tutte","SCELTA DELLE POSIZIONI ?","T")
Scrivi "** Cinquine * Sincrone * Particolari **",1
Ini = 3950 : Fin = EstrazioneFin
For R = 1 To 12
If R = 11 Then R = 12 : Ini = 7440
Ru(1) = R : NR = NomeRuota(R) : LNR = 36 - Len(NR) : Messaggio NomeRuota(R)
Scrivi String((Lnr/2)," ") & " " & NR,1
If ST = "A" Or St = "a" Then Ini = EstrazioneFin - 250
For Es = Ini To Fin
For P = 1 To 5
E(P) = Estratto(Es,Ru(1),P) : Tmp(1) = E(P)
Re(P) = SerieRitardo(Ini,Es - 1,Tmp,Ru,1)
Next
For P1 = 1 To 4 : For P2 = P1 + 1 To 5
Bi(1) = E(P1) : Bi(2) = E(P2)
If Re(P1) = Re(P2) Then
Sp = - 1 : If Es + 1 <= Fin Then Sp = SeriePrima(Es + 1,Fin,Bi,Ru,1)
If Mx(R) < Sp - Es Then
If ST <> "A" And ST <> "a" Then
ColoreTesto 2 : Scrivi DataEstrazione(Es) & " ",0,0
Scrivi Format2(Bi(1)) & "." & Format2(Bi(2)) & " IS " & Sp - Es : ColoreTesto CT
Mx(R) = Sp - Es
End If
End If
If Sp <= 0 Then
If Es = Fin Then CT = 1
ColoreTesto CT : Scrivi DataEstrazione(Es) & " ",0,0
For P = 1 To 5
DSP = Estratto(Es,R,P)
If DSP = E(P1) Or DSP = E(P2) Then ColoreTesto 2 : Gr = 1
Scrivi Format2(DSP),CInt(GR),0 : ColoreTesto CT : GR = 0
If P < 5 Then Scrivi ".",0,0
Next : Scrivi " ",0,0
'Scrivi Format2(E(P1)) & "." & Format2(E(P2)) & " ",0,0
Scrivi "Re" & FormatSpace(Re(P1),3,1) & " Rc" & FormatSpace(Fin - Es,3,1),0,0
If Es - Mem = 1 Then Scrivi " <<< " Else Scrivi "" : End If
CT = 0 : ColoreTesto CT : Mem = Es
End If
End If
If UT <> "t" And UT <> "T" Then P1 = P2
Next 'P2
Next 'P1
Next 'Es
Scrivi String(39,"="),1
Next 'R
Scrivi "Aggiornato al " & DataEstrazione(Fin) & " *** By Joe ***",1
End Sub
Sub Main
'Cinquine Sincrone Particolari di Antonio Cretella
'Script V_5.0 By Joe. Alba 07/02/2013
'Legenda: Re = Ritardo all' Estrazione / IS = Increnento Storico / Ra = Ritardo Attuale
'Le -New-Entry- sono evidenziate in colore Blu
' <<< indica l'attuale presenza di Sincronismo Continuo (e/o quello residuale)
Dim E(5),Tmp(1),Ru(1),Re(5),Bi(2),Mx(12)
ST = InputBox("A = Attuale / S = Storici","CALCOLO STORICO ?","A")
UT = InputBox("U = Unite / T = Tutte","SCELTA DELLE POSIZIONI ?","T")
Scrivi "** Cinquine * Sincrone * Particolari **",1
Ini = 3950 : Fin = EstrazioneFin
For R = 1 To 12
If R = 11 Then R = 12 : Ini = 7440
Ru(1) = R : NR = NomeRuota(R) : LNR = 36 - Len(NR) : Messaggio NomeRuota(R)
Scrivi String((Lnr/2)," ") & " " & NR,1
If ST = "A" Or St = "a" Then Ini = EstrazioneFin - 150
For Es = Ini To Fin
For P = 1 To 5
E(P) = Estratto(Es,Ru(1),P) : Tmp(1) = E(P)
Re(P) = SerieRitardo(Ini,Es - 1,Tmp,Ru,1)
Next
For P1 = 1 To 4 : For P2 = P1 + 1 To 5
Bi(1) = E(P1) : Bi(2) = E(P2)
If Re(P1) = Re(P2) Then
Sp = - 1 : If Es + 1 <= Fin Then Sp = SeriePrima(Es + 1,Fin,Bi,Ru,1)
If Mx(R) < Sp - Es Then
If ST <> "A" And ST <> "a" Then
'ColoreTesto 2 : Scrivi DataEstrazione(Es) & " ",0,0
'Scrivi Format2(Bi(1)) & "." & Format2(Bi(2)) & " IS " & Sp - Es : ColoreTesto CT
Mx(R) = Sp - Es
End If
End If
If Sp <= 0 Then
If Es = Fin Then CT = 1
ColoreTesto CT : Scrivi DataEstrazione(Es) & " ",0,0
For P = 1 To 5
DSP = Estratto(Es,R,P)
If DSP = E(P1) Or DSP = E(P2) Then ColoreTesto 2 : Gr = 1
Scrivi Format2(DSP),CInt(GR),0 : ColoreTesto CT : GR = 0
If P < 5 Then Scrivi ".",0,0
Next : Scrivi " ",0,0
'Scrivi Format2(E(P1)) & "." & Format2(E(P2)) & " ",0,0
If ST = "A" Or ST = "a" Then
Scrivi "Rp" & FormatSpace(Re(P1),3,1),0,0
Else
Scrivi "Rs" & FormatSpace(Mx(R),3,1),0,0
End If
Scrivi " Ra" & FormatSpace(Fin - Es,3,1),0,0
If Es - Mem = 1 Then Scrivi " <<< " Else Scrivi "" : End If
CT = 0 : ColoreTesto CT : Mem = Es
End If
End If
If UT <> "T" And UT <> "t" Then P1 = P2
Next 'P2
Next 'P1
Next 'Es
Scrivi String(39,"="),1
Next 'R
Scrivi "Aggiornato al " & DataEstrazione(Fin) & " *** By Joe ***",1
End Sub
Ciao Joe91, grazie per aver modificato lo script.
Ma volevo chiederti, sei sicuro che siano questi gli RS delle sole coppie "U" nelle cinquine in CSP?
A me sembra, invece, che siano "T".
Perchè se guardo solo la ruota di BARI, lo storico "T" è stato di 65 estraz
ma è avvenuto con un'ambo in cinquina NON unito...
Storico :65
in data 20/04/1963
Bari cinquina CSP: 27.89.45.88.38
l'ambo era 89.88 come vedi non unito.
Puoi controllare anche le altre ruote? ...Grazie