Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
M. prefix
Message
From
27/03/2003 12:38:26
 
 
To
27/03/2003 12:27:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00770764
Message ID:
00770835
Views:
13
>>>What does the m. prefix mean
>>>Am i correct in assuming that it is a prefix you put in front of a variable.
>>>
>>>When are you supposed to use m.
>>>
>>>Tia, victor.
>>
>>The "m" stands for memory variable. Preceeding any variable with it assures that a that variable itself is referenced rather than a field by the same name.
>
>With VFP8 "m" stands for more than just 'memory variable'. From the VFP8 Help for SCATTER: "To reference a property in an object that has the same name as an open table, preface the property name with the m. qualifier.". So it now can pertain to properties too.

Shouldn't that read:

"preface the object with the m.qualifier."

IE: m.yourobject.property

The above reads like yourobject.m.property
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform