Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
M. prefix
Message
De
27/03/2003 12:38:26
 
 
À
27/03/2003 12:27:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00770764
Message ID:
00770835
Vues:
14
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform