> >
> > 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
Ken,
Thanks for the education
Please does the m.dot make the variable public?
Leslie Botchway
Ghana