Novità

x max

  • Creatore Discussione Creatore Discussione Roby
  • Data di inizio Data di inizio
Stato
Chiusa ad ulteriori risposte.
R

Roby

Guest
ciao max sempre se puoi ti chiedo un favore
ho bisogno di un listato con queste caratteristiche:
mi deve chiedere quante estrazioni voglio esaminare
poi mi deve chiedere quale somma voglio di 2 ambate isotope
tutto qua'

es. voglio sapere se ci sono due ambate isotope di somma 90

tutto qua' ciao
 
Codice:
Sub main()
so=CInt(InputBox("somma da ricercare? ","numero somma",88))
p1=CInt(InputBox("posizione? ","posizione",5))
ce=CInt(InputBox("da quale estrazione? ","estrazione",7800))
fin=EstrazioneFin
ini=ce
For es=ini To fin
AvanzamentoElab ini,fin,es
For r1=1 To 9 
a=Estratto(es,r1,p1)
For r2=r1+1 To 10 
b=Estratto(es,r2,p1)
som=Fuori90(a+b)
If som=so Then
Scrivi String(65,"="),1
Scrivi DataEstrazione(es,1)&" [ "&siglaRuota(r1)&" - "&_
StringaEstratti(es,r1)&" ] [ "&Format2(a)&" ] in "&(p1)&"^ pos."
Scrivi DataEstrazione(es,1)&" [ "&siglaRuota(r2)&" - "&_
StringaEstratti(es,r2)&" ] [ "&Format2(b)&" ] in "&(p1)&"^ pos."
Scrivi String(65,"-"),1
End If
Next : Next : Next
End Sub


-------------------------
audaces fortuna iuvat
max :)
 
ciao max se puoi un'ultima cosa avrei bisogno di due modifiche del listato la prima in qualunque pos. l'ambata isotopa , la seconda e la somma 9--10 pero' solo dei numeretti

es bari prima pos. 2
venezia prima pos. 7



altro es.
genova torino 6
roma 4

spero di essermi spiegato ciao max:)
 
Codice:
'senza nazionale
Sub main()
'so=CInt(InputBox("somma da ricercare? ","numero somma",88))
'p1=CInt(InputBox("posizione? ","posizione",5))
ce=CInt(InputBox("da quale estrazione? ","estrazione",7800))
fin=EstrazioneFin
ini=ce
For es=ini To fin
AvanzamentoElab ini,fin,es
For r1=1 To 9 
For p1=1 To 5
a=Estratto(es,r1,p1)
For r2=r1+1 To 10 
b=Estratto(es,r2,p1)
'som=Fuori90(a+b)
'If som=so Then
If a<10 And b<10 then
Scrivi String(65,"="),1
Scrivi DataEstrazione(es,1)&" [ "&siglaRuota(r1)&" - "&_
StringaEstratti(es,r1)&" ] [ "&Format2(a)&" ] in "&(p1)&"^ pos."
Scrivi DataEstrazione(es,1)&" [ "&siglaRuota(r2)&" - "&_
StringaEstratti(es,r2)&" ] [ "&Format2(b)&" ] in "&(p1)&"^ pos."
Scrivi String(65,"-"),1
End If
Next : Next : Next : next
End Sub

-------------------------------------------------------------------------

'con nazionale
Sub main()
'so=CInt(InputBox("somma da ricercare? ","numero somma",88))
'p1=CInt(InputBox("posizione? ","posizione",5))
ce=CInt(InputBox("da quale estrazione? ","estrazione",7800))
fin=EstrazioneFin
ini=ce
For es=ini To fin
AvanzamentoElab ini,fin,es
For r1=1 To 10
For p1=1 To 5
a=Estratto(es,r1,p1)
For r2=r1+1 To 12
If r2=11 Then r2=12
b=Estratto(es,r2,p1)
'som=Fuori90(a+b)
'If som=so Then
If a<10 And b<10 Then
Scrivi String(65,"="),1
Scrivi DataEstrazione(es,1)&" [ "&siglaRuota(r1)&" - "&_
StringaEstratti(es,r1)&" ] [ "&Format2(a)&" ] in "&(p1)&"^ pos."
Scrivi DataEstrazione(es,1)&" [ "&siglaRuota(r2)&" - "&_
StringaEstratti(es,r2)&" ] [ "&Format2(b)&" ] in "&(p1)&"^ pos."
Scrivi String(65,"-"),1
End If
Next : Next : Next : Next
End Sub


-------------------------
audaces fortuna iuvat
max :)
 
Stato
Chiusa ad ulteriori risposte.

Ultima estrazione Lotto

  • Estrazione del lotto
    giovedì 30 ottobre 2025
    Bari
    53
    07
    12
    77
    21
    Cagliari
    17
    74
    24
    69
    44
    Firenze
    08
    47
    25
    83
    33
    Genova
    02
    68
    29
    43
    67
    Milano
    84
    90
    75
    45
    72
    Napoli
    49
    06
    09
    12
    20
    Palermo
    13
    65
    34
    86
    07
    Roma
    15
    02
    10
    13
    83
    Torino
    59
    67
    80
    35
    26
    Venezia
    73
    04
    06
    74
    27
    Nazionale
    62
    79
    38
    36
    48
    Estrazione Simbolotto
    07
    01
    28
    12
    33
Indietro
Alto