Ho visto ora il post, Tom. Mantenendo la tua impostazione, ecco alcuni risultati. Ra=rs ma non ancora considerato l' incrMax.
Codice:
aa(1) = Array(0,74.55.13.56.88.29.39.53.81) st fr 2481 n. estr. at 6
aa(2) = Array(0,74.55.23.13.56.88.29.39.53) st fr 2452 n. estr. at 6
aa(3) = Array(0,83.38.50.65.56.88.46.53.81) st fr 2465 n. estr. at 7
aa(4) = Array(0,83.38.50.65.13.56.88.18.53) st fr 2468 n. estr. at 8
aa(5) = Array(0,83.38.50.5.65.56.88.46.81) st fr 2463 n. estr. at 7
aa(6) = Array(0,83.38.10.50.56.62.46.53.81) st fr 2451 n. estr. at 8
aa(7) = Array(0,83.74.55.13.56.88.39.53.81) st fr 2453 n. estr. at 6
aa(8) = Array(0,38.2.5.65.43.56.15.28.63) st fr 2458 n. estr. at 8
aa(9) = Array(0,38.55.50.5.65.43.56.15.28) st fr 2452 n. estr. at 7
aa(10) = Array(0,74.38.55.50.56.88.19.28.53) st fr 2470 n. estr. at 8
aa(11) = Array(0,83.38.65.43.56.16.15.28.63) st fr 2460 n. estr. at 10
aa(12) = Array(0,83.38.5.65.43.56.15.28.63) st fr 2470 n. estr. at 10
aa(13) = Array(0,83.38.50.65.43.56.15.28.63) st fr 2477 n. estr. at 10
aa(14) = Array(0,83.38.50.65.43.56.19.28.63) st fr 2456 n. estr. at 10
aa(15) = Array(0,83.38.2.65.43.56.16.15.28) st fr 2453 n. estr. at 9
aa(16) = Array(0,83.38.2.5.65.56.15.28.63) st fr 2462 n. estr. at 8
aa(17) = Array(0,83.38.2.5.65.43.56.28.63) st fr 2456 n. estr. at 8
aa(18) = Array(0,83.38.2.50.65.43.56.28.63) st fr 2467 n. estr. at 8
aa(19) = Array(0,83.38.2.50.5.65.43.56.15) st fr 2454 n. estr. at 9
aa(20) = Array(0,83.73.2.50.65.43.16.28.63) st fr 2451 n. estr. at 8
aa(21) = Array(0,83.73.2.50.5.65.43.28.63) st fr 2458 n. estr. at 8
aa(22) = Array(0,38.10.69.31.86.29.19.15.61) st fr 2456 n. estr. at 7
aa(23) = Array(0,74.38.2.33.78.60.82.8.61) st fr 2453 n. estr. at 8
aa(24) = Array(0,74.38.2.5.78.15.82.8.61) st fr 2462 n. estr. at 7
aa(25) = Array(0,73.74.2.23.33.78.60.8.51) st fr 2454 n. estr. at 8
Sub Main()
Dim ru(2),aa(11),ps(2)
ps(2) = 1
w = 2
z = 0
r = 11
r1 = 12
ru(1) = r
ru(2) = r1
aa(1) = Array(0,83,74,38,10,55,02,50,05,65,23,13,56,88,29,18,39,35,62,46,82,26,53,81)
aa(2) = Array(0,83,73,74,38,10,55,02,50,05,65,43,31,56,88,29,16,19,15,62,28,82,53,63)
aa(3) = Array(0,83,73,38,10,55,02,50,05,67,01,31,58,68,49,16,39,15,62,46,82,08,53,63)
aa(4) = Array(0,83,73,74,38,10,55,02,50,67,01,31,58,68,49,16,39,15,62,46,82,08,53,63)
aa(5) = Array(0,83,73,74,38,10,55,02,50,05,69,41,31,76,86,29,18,19,15,60,82,08,51,61)
aa(6) = Array(0,83,73,74,38,10,55,02,50,05,85,23,33,78,86,29,36,19,15,60,82,08,51,61)
aa(7) = Array(0,83,73,74,38,10,55,02,50,05,87,43,31,56,88,29,18,19,15,28,82,26,51,61)
aa(8) = Array(0,83,73,74,38,55,02,50,05,89,01,13,56,86,29,16,19,15,62,48,84,26,53,81)
aa(9) = Array(0,83,74,38,10,55,02,50,07,65,21,33,56,86,49,16,37,15,60,46,82,06,71,81)
aa(10) = Array(0,05,06,12,15,16,19,28,29,33,38,42,43,51,58,60,61,64,65,66,73,74,79,83)
aa(11) = Array(0,01,02,09,10,13,15,19,26,29,36,38,46,50,51,61,62,65,73,74,76,83,84,88)
For xx = 1 To 11
yy = UBound(aa(1))
For zz = 1 To yy
For zz1 = zz + 1 To yy
If ScriptInterrotto Then Exit For
For zz2 = zz1 + 1 To yy
If ScriptInterrotto Then Exit For
For zz3 = zz2 + 1 To yy
If ScriptInterrotto Then Exit For
For zz4 = zz3 + 1 To yy
If ScriptInterrotto Then Exit For
For zz5 = zz4 + 1 To yy
If ScriptInterrotto Then Exit For
For zz6 = zz5 + 1 To yy
If ScriptInterrotto Then Exit For
For zz7 = zz6 + 1 To yy
If ScriptInterrotto Then Exit For
For zz8 = zz7 + 1 To yy
If ScriptInterrotto Then Exit For
For zz9 = zz8 + 1 To yy
If ScriptInterrotto Then Exit For
For zz10 = zz9 + 1 To yy
If ScriptInterrotto Then Exit For
For zz11 = zz10 + 1 To yy
If ScriptInterrotto Then Exit For
For zz12 = zz11 + 1 To yy
For zz13 = zz12 + 1 To yy
a = aa(xx)
a(zz) = z
a(zz1) = z
a(zz2) = z
a(zz3) = z
a(zz4) = z
a(zz5) = z
a(zz6) = z
a(zz7) = z
a(zz8) = z
a(zz9) = z
a(zz10) = z
a(zz11) = z
a(zz12) = z
a(zz13) = z
'd=EstrazioneFin-7440
fr = SerieFreqTurbo(7440,EstrazioneFin,a,ru,w)
If fr > 2450 Then
rt = SerieRitardoTurbo(7440,EstrazioneFin,a,ru,w)
st = SerieStoricoTurbo(7440,EstrazioneFin,a,ru,w)
If st =rt Then
cc = cc + 1
Messaggio FormatSpace(cc,5,1) & ")" & StringaNumeri(a) & " st " & st & " fr " & fr & " n. estr. " & d& " at " & rt
Scrivi "aa(" &(cc) & ") = Array(0," & StringaNumeri(a) & ")" & " st " & " fr " & fr & " n. estr. " & d& " at " & rt
End If
End If
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
Next
End Sub