lotto_tom75
Advanced Premium Member
Codice:
Call GetLunghettePiuRitardate(aN,aRuote,nClasseLunghetta,nSorte,CollComb,EstrazioneIni,EstrazioneFin,nRitMin,nRitMax,nLunghetteDaTrov,TipoAlgo,nSuperficialita)
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.
Call GetLunghettePiuRitardate(aN,aRuote,nClasseLunghetta,nSorte,CollComb,EstrazioneIni,EstrazioneFin,nRitMin,nRitMax,nLunghetteDaTrov,TipoAlgo,nSuperficialita)
Ciao tom
Luigi aveva fatto un programma apposito per le lunghette, se non ricordo male potevi inserire un archivio
Ma non sononsicuro perché non lnavevo scaricato.
Tenti il colpaccio?
Che dici, Tom, la vogliamo mettere qualche abs anche qua?![]()
Dim av
Av=split(stringa," carattere separatore"
Attenzione al primo elemento av parte da indice zero .
Casomai anteponi lo zero e carattere.
Fai le verifiche casomai ti trovi un numero in meno.
Oppure splitbychar
Sub Main
Dim k
fin = EstrazioniArchivioSE
ini = EstrazioniArchivioSE - 1000
Dim filedaleggere
ReDim ariga(0)
Dim aNumeri
filedaleggere = ScegliFile(".\",".txt","pippo.txt")
For a = 1 To 90
Call LeggiRigheFileDiTesto(filedaleggere,ariga)
For c = 0 To UBound(ariga)
Scrivi(ariga(c)) & "<br>"
If ariga(c) <> "" Then
aNumeri = Split(ariga(c),".")
Scrivi "<font color=red>" & StringaNumeri(aNumeri)
For k = Ini To fin
If EstrattoSE(k,1) + EstrattoSE(k,2) = a Then
Call ScriviEstrazioneSE(k,True)
Call ImpostaGiocataSE(1,aNumeri,,180,3)
Call GiocaSE(k)
End If
If ScriptInterrotto Then Exit For
Call Messaggio(a & " anumeri " & StringaNumeri(aNumeri))
Next ' x k
'
End If
Call ScriviResocontoSE
'
' Scrivi
If ScriptInterrotto Then Exit For
Call AvanzamentoElab(1,UBound(ariga),c)
Next
Next ' x a
'
Scrivi "Tt " & TempoTrascorso
End Sub
Sub Main
Dim k
fin = EstrazioniArchivioSE
ini = EstrazioniArchivioSE - 1000
Dim filedaleggere
ReDim ariga(0)
Dim aNumeri
Dim Intanumeri(90)
'Intanumeri = Array(0)
Dim vtemp
filedaleggere = ScegliFile(".\",".txt","pippo.txt")
For a = 1 To 90
Call LeggiRigheFileDiTesto(filedaleggere,ariga)
For c = 0 To UBound(ariga)
Scrivi(ariga(c)) & "<br>"
If ariga(c) <> "" Then
aNumeri = Split(ariga(c),".")
For y = 0 To UBound(aNumeri)
vtemp = Int(aNumeri(y))
Scrivi vtemp
Intanumeri(y) = vtemp
Next
Scrivi "<font color=red>" & StringaNumeri(Intanumeri)
For k = Ini To fin
If EstrattoSE(k,1) + EstrattoSE(k,2) = a Then
Call ScriviEstrazioneSE(k,True)
Call ImpostaGiocataSE(1,Intanumeri,,180,3)
Call GiocaSE(k)
End If
If ScriptInterrotto Then Exit For
Call Messaggio(a & " anumeri " & StringaNumeri(aNumeri))
Next ' x k
'
End If
Call ScriviResocontoSE
'
' Scrivi
If ScriptInterrotto Then Exit For
Call AvanzamentoElab(1,UBound(ariga),c)
Next
Next ' x a
'
Scrivi "Tt " & TempoTrascorso
End Sub
Tom , non può essere la funzione split.
Appena posso ci do un occhiata .