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:
00172492
Views:
43
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
Previous
Reply
Map
View

Click here to load this message in the networking platform