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
    venerdì 31 ottobre 2025
    Bari
    43
    31
    77
    89
    85
    Cagliari
    50
    30
    77
    43
    53
    Firenze
    23
    53
    28
    11
    72
    Genova
    14
    86
    37
    22
    68
    Milano
    62
    14
    19
    48
    26
    Napoli
    46
    56
    42
    13
    77
    Palermo
    44
    71
    53
    73
    74
    Roma
    24
    56
    90
    57
    29
    Torino
    72
    02
    29
    12
    21
    Venezia
    10
    64
    37
    65
    22
    Nazionale
    69
    39
    08
    04
    61
    Estrazione Simbolotto
    09
    15
    20
    32
    42

Ultimi Messaggi

Indietro
Alto