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.