Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LPARAMETERS restriction
Message
De
13/03/2003 18:07:31
 
 
À
18/02/2003 10:20:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Documentation de produit
Divers
Thread ID:
00754469
Message ID:
00765629
Vues:
18
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform