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ì 29 settembre 2026
    Bari
    17
    81
    63
    73
    60
    Cagliari
    63
    45
    49
    79
    66
    Firenze
    68
    25
    67
    14
    72
    Genova
    57
    23
    08
    19
    39
    Milano
    82
    63
    20
    30
    22
    Napoli
    86
    05
    83
    46
    11
    Palermo
    62
    90
    49
    08
    77
    Roma
    81
    85
    50
    89
    01
    Torino
    36
    07
    08
    83
    20
    Venezia
    17
    80
    75
    85
    15
    Nazionale
    10
    06
    44
    75
    18
    Estrazione Simbolotto
    Palermo
    38
    23
    35
    45
    14
Indietro
Alto