Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can someone explain why macro needs to have 2 dots?
Message
From
20/02/2007 10:11:20
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
20/02/2007 09:41:08
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01196999
Message ID:
01197294
Views:
30
>>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform