Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can someone explain why macro needs to have 2 dots?
Message
De
22/02/2007 05:26:23
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
20/02/2007 13:46:45
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01196999
Message ID:
01197889
Vues:
16
>>>>>>To me, getPem() returning an object is equally non-obvious as a cryptic macro expansion. And if we assign this object to a properly prefixed local variable, it's even more readable than a macro or an eval() call.
>>>>>>
>>>>>>But then, de gustibus non est disputandum.
>>>>>
>>>>>Taste should never be as important as engineering. :)
>>>>
>>>>"Less obvious" tastes like having a taste... towards "I like this better because I'm used to it". For me, getpem() is pretty much a straight system call, while eval() or a macro are workarounds.
>>>
>>>Dragan
>>>
>>>You've convinced me. I take back my statement. It should not be avoided, just properly documented.
>>>
>>>MS should document that GETPEM will return any contained object and not just PEMs. As long as variables are named appropriately GetPEM should be fine.
>>
>>But they did document:) Any contained object is just a member of PEM:)
>
>Hi Cetin
>
>Where does it say that? If I drop a control on a form it doesn't appear as a property of the form, although I can navigate to it via the property sheet. Is that the way to look at it? Whatever is on the property sheet is a PEM? Very confusing!

I don't know if it writes or not but should the obvious be written somewhere?
Yes it's and furthermore some PEM are even is not in that PEM sheet.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform