>>Also, as I have stated before, I feel that most of the legitimate uses of & should rightfully be replaced by VFP functions designed to replace them:
>
>_vfp.DoCmd("SET SAFETY ON")
>or
>ExecScript('SET SAFETY ON')
>
>There, no Macros :-)
Ok, but that sort of defeats the point, which is avoiding runtime compilation in favor of native functions.
FYI, _VFP.DoCMD() is roughly five times slower than macro substitution, and EXECSCRIPT() is nearly 800 times slower. And for a simple variable assignment, macros take roughly 2.5 times a straight assignment. See why we still need native functions?
Erik Moore
Clientelligence