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
    martedì 16 settembre 2025
    Bari
    26
    29
    18
    10
    69
    Cagliari
    28
    35
    57
    44
    17
    Firenze
    19
    29
    49
    15
    17
    Genova
    23
    37
    13
    90
    58
    Milano
    33
    84
    76
    24
    79
    Napoli
    78
    15
    03
    24
    56
    Palermo
    80
    24
    41
    08
    75
    Roma
    55
    62
    83
    34
    69
    Torino
    27
    80
    69
    51
    84
    Venezia
    89
    74
    72
    82
    21
    Nazionale
    45
    20
    85
    33
    67
    Estrazione Simbolotto
    Palermo
    21
    19
    27
    36
    18
Indietro
Alto