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:
00172492
Vues:
44
Hi Ed,

>if STRING lpstr passed a pointer to the string, I'd have expected STRING @ lpstr to pass a pointer to the pointer. Since both pass the same thing, the syntax seems inconsistant.

It's perfectly consistent when you don't think in C-terms. STRING lpstr passes a string by value, STRING @lpstr passes it by reference. Whether both is internally the same doesn't matter from a VFP point of view.

Christof
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform