Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FindWindow
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00172288
Message ID:
00173119
Vues:
53
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform