Follow along with the video below to see how to install our site as a web app on your home screen.
Nota: This feature may not be available in some browsers.
Sub Main
Dim numeri1(),numeri2()
Dim co
Call ScegliNumeri(numeri1) ' 1° elenco
Call ScegliNumeri(numeri2) ' 2° elenco
Scrivi StringaNumeri(numeri1)
Scrivi StringaNumeri(numeri2)
Scrivi UBound(numeri1)
Scrivi UBound(numeri2)
ReDim aD(UBound(numeri1) + UBound(numeri2)) ' - - - - - - - > cosi dimensiono l'array aD
For x = 1 To UBound(numeri1)
aD(x) = numeri1(x)
Next
co = 0
For x = UBound(numeri1) + 1 To UBound(aD)
co = co + 1
aD(x) = numeri2(co)
Next
Scrivi UBound(aD)
' If VerificaEsito(aD,BA_,10400,3 ,10,,retesito,retColpi, ret estratti)Then
Scrivi "in gioco " & StringaNumeri(aD)
'End If
End Sub
Ciao Claudioscegli numeri1 come ti pare e piace,
scegli numeri2 come ti pare e piace,
(ubound) aB= ubound( numeri1)
(ubound) aC= ubound( numeri2)
dim aD= (ubound) aB+(ubound) aC) -------> cosi dimensiono l'array aD
for x = 1 to (ubound) aB
aD(x)= aB(x) 'oppure leggi la array numeri1
next
for x = (ubound) aB+1 to (ubound) aD
aD(x)= aC(x)
next
-------------
in aD hai tuti i numeri scelti con scegli numeri1 e sceglinumeri2 o altro.
per sciverli in output vedi tu come fare.
prova questa soluzione
Ti ho rifatto "SOPRA" lo script con scegli numeri chiamato 2 volte, se non è questa la strda di sceta numeri, usa il tuo pogetto di sceltaCiao Claudio
provo