Walter Meester
HoogkarspelPays-Bas
>>>MIN() would be a function in the true sense of the word if it received a parameter and returned a value. In this case, it results in the smallest value of those it's received. Therefore, each field has to be examined and compared, internally in this instance. Regardless of how one equates them, it is, nonetheless, a function.
>>
>>It is only intepretated ones....
>>
>Walter,
>Nope! Each record has to be examined, unless an index exists on the individual field.
Please read carefully, I said interpreted ones, not called ones. Further the aggregated functions do not make use of indexes in VFP.
>The code is interpreted once, the function is called multiple times.
Correct, that still is a big difference when comparing to your example.
Walter,
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement