Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Performance using m.Dot
Message
 
To
14/04/2004 10:05:24
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00894735
Message ID:
00894835
Views:
18
>>Since we are unable to search for strings with less than 3 characters could someone give me some references or information on the advantages/disadvantages in using m. with variable names as opposed to not using it? I think I've heard discussions regarding performance, but couldn't locate any. Our manager wants to elimiate all notation on variables - and in some ways I agree with regards to readability - but he would like to remove the m. convention as well. We believe that there may be issues related to this and it's been put upon me to find out what the deal is.
>>
>>UPDATE: I have no idea why I wasn't given a notice that there was a problem with the title of this thread - it just truncated it instead of asking me to fix it - but it should have read along the lines of PERFORMANE USING M DOT. Could someone from UT please fix this?
>
>I forgot to mention one thing. Another convention that he believes would resolve any conflicts between non-notated variables and field names is simply by adding the table alias to all field references. This sounds reasonable, but again I haven't found any good discussion on this point.

On the other hand, the possible confusion between object.property and alias.field names could be used for testing purposes. I used this several times myself in testing by subsituting non-existent object with the fake table having the same name/fields as the object/properties and vice versa.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform