Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mdot question
Message
De
14/04/2021 14:36:02
 
 
À
14/04/2021 11:13:26
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01679493
Message ID:
01679797
Vues:
56
>>>IMO, mdot is largely a matter of VFP folklore. Wake me up when it gets to Fox vs Clipper, or even better, Spectrum vs Commodore.
>>
>>Now you are allowed to guess the side I choose.
>>;)
>
>Fine. Be stupid. I inherited lots of supposedly genius programmers over the years. All that allowed me to function was using m. as needed by the compiler. I currently have a table called latest. It is opened by a query. Then a scatter name is used. Then they use m.latest.fieldname. So, there goes any possible use of m.arrayname.
>
>If I write a piece of code for you to use, it will not break because of your table/field naming conventions. If you give me a piece of code, I am certain it will. This is the real world, not your isolated bubble.


So....what you're really complaining about is that m.tablename.fieldname, which is the incorrect usage of m. (iirc). If yer gonna use a scatter memvar, then the correct usage would be m.fieldname. I simply consider it legacy code and when I used to run into it, after some minor research, it would be code that was written in FPD and had been ported through the versions, hopefully skipping FPW.
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform