Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro substitution and evaluate - which to use
Message
 
 
À
19/07/2007 16:35:19
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01241954
Message ID:
01242149
Vues:
29
>I know but I'm glad someone at last pointed out to use the name expression instead of unnecessary text...endtext and the slower &.
>Cetin

Good point. The only place we need to use macro is fields and where clauses (and join if we build it as string). So, we can try to minimize its usage.

Though I'm not sure what is quicker:

lcSelect = whole select string
&lcSelect

or

select &lcFields from (lcTable) &lcJoin where &lcWhere into table (lcTable)
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform