Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro substitution
Message
From
29/12/2002 12:22:48
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00735756
Message ID:
00736411
Views:
26
Hi Peter

You're right - I do like the second list better since its "macro" specific :) Point 3 is effectively what I have been saying all along i.e. both techniques are useful and appropiate depending on the situation. And I especially like point 4 - I think this is very important.

Jos

<snip>
>
>But maybe you like this list more:
>1) Macros are the only way to parametrize a keyword in a command.
>2) Macros are only the second to best way to parametrize a name expression in a command.
>3) When used as argument in a loop construction (like a DO WHILE and a SQL-query), there's a fundamental difference in the way that a macro and an evaluate() are handled. The functional requirement is therefore decisive.
>4) Evaluate() is not Rushmore optimizable, whereas the use of a macro leaves that possibility intact.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform