>
> Why use M.(MDOT) variables?
>
> Leslie Botchway
> Ghana
If you do not use the mDot, VFP has to figure out where the variable comes from. For example:
REPLACE MyTable.MyField with cSomeValue IN [MyTable]
Where does cSomeValue come from? Is it SomeOtherTable.cSomeValue or is it a memory variable. If you prefix the variable with mDot, VFP knows that it is a memory variable. This makes it a tick or two faster (and in a long loop, it this could add up to something significant) and it tells another developer at a glance that this is a memory variable.
Ken
You shall know the truth - and the truth shall set you free. (John 8:33)