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.
'Ambo Diametrale Verticale
Sub Main()
ce = InputBox(" Quante estrazioni vuoi controllare? ","Estrazioni",10)
ini = EstrazioneFin - ce
fin = EstrazioneFin
For es = Ini To EstrazioneFin
ColoreTesto 1 : Scrivi String(7,"=") & " " & DataEstrazione(es) & " " & String(7,"="),1 : ColoreTesto 0
For r = 1 To 10
For p = 1 To 5
For r1 = r + 1 To 11
If r1 = 11 Then r1 = 12
For p1 = 1 To 5
a = Estratto(es,r,p): b = Estratto(es,r1,p1)
If Distanza(a,b) = 45 Then
If p = p1 Then ColoreTesto 2 Else ColoreTesto 0
Scrivi " " & Format2(p) & "^ " & FormatSpace(SiglaRuota(r),4) & FormatSpace((a),6),0,0
Scrivi Format2(p1) & "^ " & FormatSpace(SiglaRuota(r1),4) &(b)
End If
Next
Next
Next
Next
Scrivi
Next
End Sub
'Option Explicit
Sub Main()
Dim Ini,Fin,Es,Rit
Dim P,R1,R2,A,B
Ini = EstrazioneFin - 15
Fin = EstrazioneFin
For Es = Ini To EstrazioneFin
Rit = Fin - Es
ColoreTesto 1 : Scrivi String(7,"=") & " " & DataEstrazione(Es) & " " & String(7,"="),1 : ColoreTesto 0
For R1 = 1 To 10
For P = 1 To 5
For R2 = R1 + 1 To 11
If R2 = 11 Then R2 = 12
'For p1 = 1 To 5
A = Estratto(Es,R1,P): B = Estratto(Es,R2,P)
If A = Vert(B) Then
'If p = p1 Then ColoreTesto 2 Else ColoreTesto 0
Scrivi " " & Format2(P) & "^ " & FormatSpace(SiglaRuota(R1),4) & FormatSpace((A),6),0,0
Scrivi Format2(P) & "^ " & FormatSpace(SiglaRuota(R2),4) &(B)
End If
'Next
Next
Next
Next
Scrivi
Next
End Sub
Option Explicit
Sub Main()
'Ricerca Coppie VERTIBILI Isotope ATTUALI
'Script di Master. Rev. By Joe.
Dim Ini,Fin,Es,Rit
Dim P,R1,R2,A,B,D
Ini = EstrazioneFin - 155
Fin = EstrazioneFin
For Es = Ini To EstrazioneFin
Rit = Fin - Es : D = True
For P = 1 To 5
For R1 = 1 To 10
For R2 = R1 + 1 To 11
If R2 = 11 Then R2 = 12
A = Estratto(Es,R1,P): B = Estratto(Es,R2,P)
If A = Vert (B) Then
If EstrattoRitardoTurbo(R1,A,Es,Fin) = Rit Then
If EstrattoRitardoTurbo(R2,B,Es,Fin) = Rit Then
If D Then
ColoreTesto 1 : Scrivi String(7,"=") & " " & DataEstrazione(Es) & " ",True,False
Scrivi String(7,"="),1 : ColoreTesto 0
D = False
End If
Scrivi " " & P & "^" & FormatSpace(SiglaRuota(R1),4,True) & FormatSpace((A),3,True),0,0
Scrivi Space(2) & FormatSpace(SiglaRuota(R2),2,True) & FormatSpace(B,3,True),0,0
Scrivi Space(2) & "Rit" & FormatSpace(Rit,3,True)
End If
End If
End If
Next
Next
Next
Next
ColoreTesto 1 : Scrivi String(5,"=") & " Script By Joe ",True,False
Scrivi String(6,"="),1 : ColoreTesto 0
End Sub
Master;n2035307 ha scritto:Buongiorno Joe
Vorrei una mano per cambiare l'output dello script (diametrali) sopra riportato..
Evidenziare di rosso solo i numeri isotopi anzichè tutta la scritta.
quando ha tempo mi da delle indicazioni per la modifica?
grazie
Option Explicit
Sub Main
Dim sTesto
Dim n ,r , e
Dim Bold ,Color,hcolor,size,sName,Underline,Striked
Bold = True ' grassetto (true/false)
Color = vbRed ' colore (un colore valido)
hcolor = - 1 ' colore di evidenziatore un colore valido o -1 per nessun colore
size = 2 ' dimensione del carattere
sName= "Courier new" ' nome font
Underline = True ' sottolineato (true/false)
Striked = False ' barrato (true/false)
For r = 1 To 10
sTesto = ""
For e = 1 To 5
n = Format2(Estratto ( EstrazioneFin , r , e ))
If n Mod 2 =0 Then
' se il numero è pari applica lo stile del testo
sTesto = sTesto & GetTestoHtml( n ,Bold ,Color,hcolor,size,sName,Underline,Striked) & " "
Else
' se il numero è dispari scrive con lo stile di default
sTesto = sTesto & n & " "
End If
Next
Scrivi sTesto
Next
End Sub
Sub Main()
ce = InputBox(" Quante estrazioni vuoi controllare? ","Estrazioni",10)
ini = EstrazioneFin - ce
fin = EstrazioneFin
For es = Ini To EstrazioneFin
ColoreTesto 1 : Scrivi String(7,"=") & " " & DataEstrazione(es) & " " & String(7,"="),1 : ColoreTesto 0
For r = 1 To 10
For p = 1 To 5
For r1 = r + 1 To 11
If r1 = 11 Then r1 = 12
For p1 = 1 To 5
a = Estratto(es,r,p): b = Estratto(es,r1,p1)
If Distanza(a,b) = 45 Then
ColoreTesto 0
Scrivi " " & Format2(p) & "^ ",0,0
Scrivi FormatSpace(SiglaRuota(r),4),0,0
If p = p1 Then ColoreTesto 2 : GR = True
Scrivi FormatSpace(Format2(a),6),GR,0
ColoreTesto 0 : GR = False
Scrivi Format2(p1) & "^ ",0,0
Scrivi FormatSpace(SiglaRuota(r1),4),0,0
If p = p1 Then ColoreTesto 2 : GR = True
Scrivi Format2 (b),GR
ColoreTesto 0 : GR = False
End If
Next
Next
Next
Next
Scrivi
Next
End Sub
If Distanza(a,b) = 45 Then
Scrivi " " & format2(p) & "^ " & SiglaRuota(r) & Space(2),0,0
Scrivi Format2(a) ,0,0,,Iif(p=p1,2,0)
Scrivi Space (4) & format2 (p1) & "^ " & SiglaRuota(r1) & Space(2),0,0
Scrivi Format2(b),0,1,,Iif(p=p1,2,0)
End If
Sub Main()
ce = InputBox(" Quante estrazioni vuoi controllare? ","Estrazioni",10)
ini = EstrazioneFin - ce
fin = EstrazioneFin
For es = Ini To EstrazioneFin
ColoreTesto 1 : Scrivi String(7,"=") & " " & DataEstrazione(es) & " " & String(7,"="),1 : ColoreTesto 0
For r = 1 To 10
For p = 1 To 5
For r1 = r + 1 To 11
If r1 = 11 Then r1 = 12
For p1 = 1 To 5
a = Estratto(es,r,p): b = Estratto(es,r1,p1)
[B]If Distanza(a,b) = 45 Then [/B]
Scrivi " " & Format2(p) & "^ " & SiglaRuota(r) & Space(2),0,0
Scrivi Format2(a) ,Iif(p=p1,1,0),0,,Iif(p=p1,2,0)
Scrivi Space (4) & Format2 (p1) & "^ " & SiglaRuota(r1) & Space(2),0,0
Scrivi Format2(b),Iif(p=p1,1,0),1,,Iif(p=p1,2,0)
[B]End If[/B]
Next
Next
Next
Next
Scrivi
Next
End Sub