Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameters in methods (BUG)
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Parameters in methods (BUG)
Miscellaneous
Thread ID:
00536092
Message ID:
00536092
Views:
66
I found a weird behavior of VFP 7 with position of PARAMETERS or LPARAMETERS statement in the method.

VFP7 does not sense LPARAMETERS statement for subclassing and type library generation if it is not in the first line of the method!

It is very common for me (and I am sure other people too) to insert a comment block in procedures, functions, and methods before any other code goes.

In this case LPARAMETERS does not get copied in subclass methods and it does not go to type library.

This is critical for SOAP WSDL and WSML file generation (and COM in general)that rely on correct type library information.

By the way, VFP 6 does not have this behavior.
Serge Matsevilo, Seattle, WA, USA
Senior Programmer/Analyst,
iServ Systems, Inc.
e-mail: smatsevilo@iservsystems.com
Next
Reply
Map
View

Click here to load this message in the networking platform