SUPER LOTTO

Si puo' fare?

« Older   Newer »
  Share  
CAT_IMG Posted on 16/7/2011, 13:04
Avatar

Group:
Fan
Posts:
471

Status:


Chiedo ai nostri bravissimi scripter, se è possibile creare un listato con la seguente tecnica con possibilita' di avere l'elemento interessato anche in 3° e 4° posizione...

https://superlotto.blogfree.net/?t=3558292

Grazie :P
 
Top
occhidigiada58.
CAT_IMG Posted on 16/7/2011, 21:36




CODICE
Sub main()
Dim ru(2),rt(4),nu(2),nn(6),pt(1),ptt(3),rtt(2),n3(3),n1(1),ps(10)
pt(1)=1
ptt(2)=1
ps(1)=1
ps(8)=1  
ps(9)=1
rtt(1)=11 : rtt(2)=12
clp=14
ini=EstrazioneFin -100
fin=EstrazioneFin
co=0
For es=ini To fin
 Messaggio es
 For r=1 To 11
    If r=11 Then r=12
             a=Estratto (es,r,1) : b=Estratto (es,r,2) : c=Estratto (es,r,3)
              If  b=90 Then
Scrivi String (60,"=")&" Caso n°"&co
Scrivi DataEstrazione(es)&"  "& SiglaRuota (r)&"  "& StringaEstratti(es,r)&"  Terna  "&a&"-"&b&"-"&c
Scrivi "somma  "& x &" "
Scrivi "I due laterali sono  "& a&"-"&c &"  "

                                        ru(1)=r
                                        nu(1)=Fuori90(a+c): nu(2)=(90-nu(1))
                                     ImpostaGiocata 1,nu,ru,ps,clp
                                     ImpostaGiocata 4,nu,ru,ptt,clp

                                       Gioca es
                                End If
                        Next
                Next
ScriviResoconto

End Sub


vedi se va bene
 
Top
CAT_IMG Posted on 17/7/2011, 00:29
Avatar

Group:
Fan
Posts:
471

Status:


Grazie Okkioni, :P

Sei sempre gentile e molto competente...
 
Top
occhidigiada58.
CAT_IMG Posted on 17/7/2011, 09:52




:FS-msn_194.gif:
 
Top
CAT_IMG Posted on 17/7/2011, 16:04
Avatar

Group:
Fan
Posts:
164

Status:


Ciao Morenish, con il permesso di occhidigiada..ho fatto delle
modifiche in merito alla richiesta di trovare la condizione anche
in 3a e 4a posizione.

Ciao, Enplein.


CODICE
Sub main()
Dim ru(1),nu(2),nn(6),pt(1),ptt(3),rtt(2),n3(3),n1(1),ps(10)
pt(1)=1:ptt(2)=1
rtt(1)=11 : rtt(2)=12
clp=14
ini=EstrazioneFin -100
fin=EstrazioneFin
co=0
n=90 'Numero di ricerca in 2a, 3a, 4a posizione
For es=ini To fin
Messaggio es
       For r=1 To 11
   If r=11 Then r=12
       po=Posizione (es,r,n)
               If po>0 Then
               If po=2 Or po=3 Or po=4 Then
               For i=2 To 4
               If po=i Then a=Estratto (es,r,po-1) : b=Estratto (es,r,po+1)
           Next  
'Previsione
Erase ps
If po=2 Or po=3 Or po=4 Then ps(po+5-1)=1:ps(po+5+1)=1:ps(1)=1
ru(1)=r:rtt(1)=r : rtt(2)=11
nu(1)=Fuori90(a+b): nu(2)=(90-nu(1))  
co=co+1    
Scrivi String (60,"=")&" Caso n°"&co
Scrivi DataEstrazione(es)&"  "& SiglaRuota (r)&"  "& StringaEstratti(es,r)&"  Terna  "&a&"-"&n&"-"&b&_
"  Pos. "&po-1&"."&po&"."&po+1
Scrivi "I due laterali sono  "& a&"-"&b &"  "
ImpostaGiocata 1,nu,ru,ps,clp,1
ImpostaGiocata 2,nu,rtt,ptt,clp,2

Gioca es
                       End If
               End If
       Next
Next
ScriviResoconto
ColoreTesto 2
Scrivi "Metodo 'La vittoria fà 90 di Morenish' by listed occhidigiada&Enplein.",1
ColoreTesto 0
End Sub
 
Top
CAT_IMG Posted on 17/7/2011, 16:41
Avatar

Group:
Fan
Posts:
471

Status:



Ciaoooo Enplein*,

Grazie infinite... :bye1.gif:
 
Top
5 replies since 16/7/2011, 13:04   255 views
  Share