Novità

Aiuto script

Sub Main()
ImpostaArchivio10ELotto(1)
Dim Nn(10)
QT = InputBox("Quanti Numeri","Numeri",6)
ScegliNumeri(Nn)
Ini = EstrazioniArchivioDL - 10
Fin = EstrazioniArchivioDL
Scrivi "........ Da " & DataEstrazioneDL(Ini) & " a " & DataEstrazioneDL(fin),1
Scrivi
Scrivi " Evidenzia numeri giocati sulla combinazione 10 e lotto ",1
Scrivi"------------------------------------------------------------"
ColoreTesto 2
Scrivi "Numeri in gioco " & StringaNumeri(Nn),1
ColoreTesto 0
Scrivi"------------------------------------------------------------"
For Es = Ini To Fin
tot = 0
Scrivi DataEstrazioneDL(es) & " ",0,0
Scrivi "[" & Es & "] ",0,0
For P = 1 To 20
ColoreTesto 1
For x = 1 To Qt
If EstrattoDL(Es,P) = Nn(x) Then
ColoreTesto 2
tot = tot + 1
End If
Next
Scrivi Format2(EstrattoDL(Es,P)),1,0
ColoreTesto 0
Scrivi ".",0,0

Next
ColoreTesto 7
Scrivi " - Punteggio max -> " & tot,1
ColoreTesto 0
Next
Scrivi
Scrivi"--------------------------------------------------------------"
End Sub
 
Sub Main()<BR>    ImpostaArchivio10ELotto(1)<BR>    Dim Nn(10)<BR>    QT = InputBox("Quanti Numeri","Numeri",6)<BR>    ScegliNumeri(Nn)<BR>    Ini = EstrazioniArchivioDL - 10<BR>    Fin = EstrazioniArchivioDL<BR>    Scrivi "........ Da " & DataEstrazioneDL(Ini) & " a " & DataEstrazioneDL(fin),1<BR>    Scrivi<BR>    Scrivi " Evidenzia numeri giocati sulla combinazione 10 e lotto ",1<BR>    Scrivi"------------------------------------------------------------"<BR>    ColoreTesto 2<BR>    Scrivi "Numeri in gioco " & StringaNumeri(Nn),1<BR>    ColoreTesto 0<BR>    Scrivi"------------------------------------------------------------"<BR>    For Es = Ini To Fin<BR>        tot = 0<BR>        Scrivi DataEstrazioneDL(es) & " ",0,0<BR>        Scrivi "[" & Es & "] ",0,0<BR>        For P = 1 To 20<BR>            ColoreTesto 1<BR>            For x = 1 To Qt<BR>                If EstrattoDL(Es,P) = Nn(x) Then<BR>                ColoreTesto 2<BR>                tot = tot + 1<BR>                End If<BR>            Next<BR>            Scrivi Format2(EstrattoDL(Es,P)),1,0<BR>            ColoreTesto 0<BR>            Scrivi ".",0,0<BR>            <BR>        Next<BR>        ColoreTesto 7<BR>        Scrivi " - Punteggio max -> " & tot,1<BR>        ColoreTesto 0<BR>    Next<BR>    Scrivi<BR>    Scrivi"--------------------------------------------------------------"<BR>End Sub
 
caro mike 58 mi servirebbe uno script di questo genere,anno 2013 x 12 la somma moltiplicata per i gg,estrazionale (1,3,5,8,10,15,17 ecc ec)grazie
 
Ciao Tonino senza altre specifiche un esempio potrebbe essere questo.

ciao

Codice:
Sub Main
	Dim Anum(1),aruota(1)
	r = InputBox("QUALE RUOTA",,1)
	an = InputBox("Quale anno",,2013)
	qe = InputBox("QUANTE ESTRAZIONI",,100)
	k = CInt(InputBox("QUANTI COLPI VERIFICO ESITO",,10))
	a = an*12
	ReDim At(7)
	At(1) = " Giorno "
	At(2) = " Info Estrazione "
	At(3) = " Numero Ricavato "
	At(4) = " Esito "
	At(5) = " Colpi "
	At(6) = " Estratti "
	At(7) = " info data esito "
	Call InitTabella(At,2,,3,5)
	Ini = EstrazioneFin - qe
	fin = EstrazioneFin
	Scrivi "Analisi sulla Ruota di..." & NomeRuota(r),1
	For es = Ini To fin
		b = giorno(es)
		c = Fuori90(a*b)
		Anum(1) = c
		aruota(1) = r
		Call VerificaEsito(Anum,aruota,es + 1,1,k,,Retesito,retcolpi,retestratti,retid)
		ReDim Av(7)
		Av(1) = b
		Av(2) = GetInfoEstrazione(es)
		Av(3) = c
		Av(4) = Retesito
		Av(5) = retcolpi
		Av(6) = retestratti
		Av(7) = GetInfoEstrazione(retid)
		Call AddRigaTabella(Av,,,3)
		'Scrivi Format2 (b) & "  " &  GetInfoEstrazione(es) & " - Numero Ricavato "  & Format2(c) & "  " & Retesito & "  al colpo..." & retcolpi & "  " & retestratti & "  " & retid
	Next
	Call CreaTabella()
End Sub
 
oppure la 2° soluzione con scelta e verifica anno.

Codice:
Sub Main
	Dim Anum(1),aruota(1)
	r = InputBox("QUALE RUOTA",,1)
	an = CInt(InputBox("Quale anno",,2013))
	'qe = InputBox("QUANTE ESTRAZIONI",,100)
	k = CInt(InputBox("QUANTI COLPI VERIFICO ESITO",,10))
	a = an*12
	ReDim At(7)
	At(1) = " Giorno "
	At(2) = " Info Estrazione "
	At(3) = " Numero Ricavato "
	At(4) = " Esito "
	At(5) = " Colpi "
	At(6) = " Estratti "
	At(7) = " info data esito "
	Call InitTabella(At,2,,3,5)
	Ini = PrimaSuccessiva(an)
	fin = EstrazioneFin
	Scrivi "Analisi sulla Ruota di..." & NomeRuota(r),1
	
	For es = Ini To fin
	If Anno(es) = an Then
	casi = casi + 1
		b = giorno(es)
		c = Fuori90(a*b)
		Anum(1) = c
		aruota(1) = r
		Call VerificaEsito(Anum,aruota,es + 1,1,k,,Retesito,retcolpi,retestratti,retid)
		ReDim Av(7)
		Av(1) = b
		Av(2) = GetInfoEstrazione(es)
		Av(3) = c
		Av(4) = Retesito
		Av(5) = retcolpi
		Av(6) = retestratti
		Av(7) = GetInfoEstrazione(retid)
		Call AddRigaTabella(Av,,,3)
		'Scrivi Format2 (b) & "  " &  GetInfoEstrazione(es) & " - Numero Ricavato "  & Format2(c) & "  " & Retesito & "  al colpo..." & retcolpi & "  " & retestratti & "  " & retid
	End If
	Next
	'End If
	Call CreaTabella()
	Scrivi "Casi..." & casi,1
End Sub
 
ciao,mike 58 il listato non e' quello ,mi sono spiegato male (esempio anno 2013 x 12(numero fisso)=24156xgg 22=53,14,32(terno)2013x12=24156x31=748836(terno)grazie
 
prova così.

Codice:
Sub Main
	Dim Anum(3),aruota(1)
	r = InputBox("QUALE RUOTA",,1)
	an = CInt(InputBox("Quale anno",,2013))
	sorte = CInt (InputBox("Quale Sorte analizzi",,1))
	k = CInt(InputBox("QUANTI COLPI VERIFICO ESITO",,10))
	a = an*12
	ReDim At(7)
	At(1) = " Giorno "
	At(2) = " Info Estrazione "
	At(3) = " Numero Ricavato "
	At(4) = " Esito "
	At(5) = " Colpi "
	At(6) = " Estratti "
	At(7) = " info data esito "
	Call InitTabella(At,2,,3,5)
	Ini = PrimaSuccessiva(an)
	fin = EstrazioneFin
	Scrivi "Analisi sulla Ruota di..." & NomeRuota(r),1
	
	For es = Ini To fin
	If Anno(es) = an Then
	casi = casi + 1
		b = giorno(es)
		c = (a*b)
		Anum(1) = Left (c,2)
		Anum(2) = Mid(c,3,2)
		Anum(3) = Right(c,2)
		aruota(1) = r
		Call VerificaEsito(Anum,aruota,es + 1,sorte,k,,Retesito,retcolpi,retestratti,retid)
		ReDim Av(7)
		Av(1) = b
		Av(2) = GetInfoEstrazione(es)
		Av(3) = StringaNumeri(Anum)
		Av(4) = Retesito
		Av(5) = retcolpi
		Av(6) = retestratti
		Av(7) = GetInfoEstrazione(retid)
		Call AddRigaTabella(Av,,,3)
		'Scrivi Format2 (b) & "  " &  GetInfoEstrazione(es) & " - Numero Ricavato "  & Format2(c) & "  " & Retesito & "  al colpo..." & retcolpi & "  " & retestratti & "  " & retid
	End If
	Next
	'End If
	Call CreaTabella()
	Scrivi "Casi..." & casi,1
End Sub
 
Attenzione i numeri divisi per 2 sono superiori a 90 nasce il problema in questo caso puoi metterci il fuori90
ai 3 numeri ricavati, cosi...

Anum(1) = Fuori90 (Left (c,2))
Anum(2) = Fuori90 ( Mid(c,3,2))
Anum(3) = Fuori90(Right(c,2))
 

Ultima estrazione Lotto

  • Estrazione del lotto
    sabato 25 luglio 2026
    Bari
    86
    66
    30
    01
    25
    Cagliari
    14
    36
    79
    07
    51
    Firenze
    89
    41
    87
    30
    23
    Genova
    29
    11
    35
    57
    66
    Milano
    19
    28
    31
    27
    47
    Napoli
    03
    23
    61
    12
    65
    Palermo
    61
    90
    47
    56
    34
    Roma
    22
    26
    48
    50
    44
    Torino
    62
    75
    23
    15
    13
    Venezia
    80
    25
    84
    49
    61
    Nazionale
    23
    76
    80
    55
    46
    Estrazione Simbolotto
    Nazionale
    37
    44
    16
    05
    17

Ultimi Messaggi

Indietro
Alto