ciao, vorrei avere una semplice spiegazione da Luigi
io apro il file archivio e carico le righe estrazioni.
per effettuarci sopra delle statistiche
con statformazioniTurbo, per avere Ritardo,Ritardomax,frequenza etc.
Private Declare Sub StatFormazioneTurbo Lib "LottoOpen.dll" (aEstrazioni() As struct_estrazione, _
hNumeri As Integer, hRuote As Integer, hPosizioni As Integer, _
nStart As Long, nEnd As Long, nSorte As Long, _
ByRef Rit As Long, ByRef RitMax As Long, ByRef IncrRitMax As Long, ByRef Freq As Long, ByRef Pres As Long, ByRef nEstrUsate As Long)
perchè viene fatto riferimento a Friend Sub???
Friend Sub StatFormazione(inizio As Long, Fine As Long, Sorte As Long, abNumeri() As Integer, aRuote() As Integer, aPos() As Integer, Ret As struct_valori_statistici)
Dim retB As struct_valori_statistici
LSet Ret = retB
Call StatFormazioneTurbo(aEstrazioni(), abNumeri(0), aRuote(0), aPos(0), inizio, Fine, Sorte, Ret.Ritardo, Ret.RitardoMax, Ret.IncrRitMax, Ret.Frequenza, Ret.Presenze, Ret.EstrTot)
End Sub
quale delle due o entrambe devono essere inserite e dove, per essere usate correttamente, perchè non riesco ad ottenere dati di ritorno contenenti i valori?
diverso è se applico delle mie routine per calcolare il ritardo,ilmax e le frequenze.
Volevo capire come usare le istruzioni da te già predisposte, ma non ho capito come fare.
buona giornata