Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Safety On
Message
From
29/03/2006 09:53:46
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01108731
Message ID:
01108798
Views:
18
>I think you missed my point, which you can find in the original link I referred you to in the table.
>
>m.Var = m.Var1 + m.Var2
>
>In this expression the first m. is not needed, e.g.
>
>Var = m.Var1 + m.Var2 is better.
>

Naomi,

You're right that the first m.Var doesn't need the m prefix, but I don't think it does any harm. And if you always prefix your variables with m you don't have to think about where its needed and where its not.

So, I don't think one way is better - just a difference in style.

Regards,
Jim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform