Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro substitution - When to use &X and when to use (X)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00919528
Message ID:
00919535
Vues:
11
Use (x) when (x) is part of a command, for example:

x="an_alias"
use (x)

use &x when x is itself a command, or an evaluable expression, for example:

x="select * from an_alias"
&x

runs the select statement, while (x) do nothing

FRanco

>Are there any guidelines as when we can use (X) and when we need to use &X ? I know that (X) is faster, but it dooes not always work?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform