Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mdot
Message
De
07/01/2005 09:14:34
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
07/01/2005 01:16:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Mdot
Divers
Thread ID:
00974967
Message ID:
00975061
Vues:
22
>Hi Hilmar. Thanks but I am not asking if it is faster or not. The question has a definitive answer as to whether these lookups are performed or not. Someone knows for sure whether this is the case or not.

Well, it seems logical that if "m." is not specified, VFP requires additional processing to (a) first determine whether a field exists, and (b) once it determines that no field exists, look up in the variable table, to see if a variable by that name exists.

Part (b) has to be done in any case. Part (a) might be quite fast, assuming VFP internally keeps an indexed list of fields for each work area.

But still, if you don't tell VFP that it is a variable, I see no way for VFP to avoid this part.

Even within a loop: conditions, like which alias is selected, can change from one iteration to the next.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform