Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AVERAGE doesn't work with NEXTand FOR: why ??
Message
De
19/12/2005 03:32:24
 
 
À
19/12/2005 02:41:02
Suhas Hegde
Dental Surgeon
Sirsi, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01079075
Message ID:
01079100
Vues:
26
>>>>
>>
>>>Average f1 all WHILE _tally < 2 for f2 == "BB" to m.myvar
>>>Average f1 all WHILE _tally < 1 for f2 == "BB" to m.myvar
>>>
>>>return m.myvar*1.00 = 2.33 om my machine
>>
>>sure ?
>>
>
>ya 100% sure. run it 5 times and the result is the same....
>it includes all the records and does not stop computing when _tally is 1 or 2
>

try:
LOCATE for f2 == "BB"
Average f1 NEXT 2 for f2 == "BB" to m.myvar
>can u check ????
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform