Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FindWindow
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00172288
Message ID:
00173119
Views:
50
>Hi George,
>
>>I think, however, that it's important that the declaration reflect not only how the parameter is to be passed, but should also show a meaningful name as to what the parameter is. Makes things more readable, and, as a by-product, more maintainable.
>
>Definitly, the optional parameter name should always be used. Also it can be usefull to define some C types, like:
>
>#DEFINE void Integer
>#DEFINE LPTSTR String@
>
>And then use these types in the DECLARE statement, because it does match the C definition in the SDK.
>
Hi Christof,

For those of us who are familiar with C, I think that it's a terrific idea. If I had to express a concern, however, it would be that it could be confusing to others who weren't, and could be counterproductive. Of course, I'm just playing "devil's advocate" here.:-)
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform