Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LPARAMETERS restriction
Message
From
13/03/2003 18:07:31
 
 
To
18/02/2003 10:20:21
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Product Documentation
Miscellaneous
Thread ID:
00754469
Message ID:
00765629
Views:
19
Hi Jim,

Just so I understand the issue:

1) Look at "DEFINE CLASS Command" topic.
2) Locate the following:

"For the parameters and their types to appear in the type library, you must use the inline parameter syntax instead of using LPARAMETERS to declare the parameters:"

3) The "LPARAMETERS Command" topic doesn't say anything about this restriction as it applies to DEFINE CLASS.
4) Also, earlier in the "DEFINE CLASS Command" topic, the description under the following clause,

FUNCTION | PROCEDURE Name[_ACCESS | _ASSIGN] | THIS_ACCESS

has the following contradictory info:

The following code creates an object whose internal procedures, MyProperty_ACCESS and MyProperty_ASSIGN, respond to queries (Access method) and to property changes (Assign method).

Note the use of an LPARAMETERS statement to accept the value passed to the Assign method. This example also demonstrates creation of read-only properties.

Is that correct?
Esther Fan
Visual FoxPro User Education


Microsoft Disclaimer:
This posting is provided "AS IS" with no warranties and confers no rights.
Previous
Reply
Map
View

Click here to load this message in the networking platform