Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro substitution
Message
De
27/12/2002 09:44:13
 
 
À
27/12/2002 09:27:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00735756
Message ID:
00736055
Vues:
30
>Peter
>
>A simple example, off the top of my head, would be one where macro substitution is used in a large loop where EVALUATE() or name expresion would work instead. In such a case, given a sufficiently large loop ("large" would be dependent on the PC config) macro substitution would not be appropiate.

Fully agree on this one. Although 'mis-use' remains a big word, doesn't it?! In this case, we better suggest the programmer that an eval() will probably improve performance.


>I repeat what I have said in my last three posts in this thread - I am not advocating for or against macro substitution. It's use depends on the specifics of the problem being solved and the progammer doing the solving.
>
>Jos

**** what it was about: ****

>Hilmar,
>
>Like I said - no right or wrong. Macro substitution is very powerful and can be used (or abused :) very effectively in numerous situations.
>
>Jos

Jos, can you give an example of mis-use?! Truly, I'm really interested, for the sake of the discussion.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform