Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Legal coding of As clause (re (strong) typing)
Message
De
19/07/2001 23:58:37
 
 
À
19/07/2001 10:33:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00532549
Message ID:
00532967
Vues:
10
Jim,

I think the most information seems to be in the DEFINE CLASS command documentation along with this special note:

Note: The AS Type clause is used only for IntelliSense and class definition information stored in a type library (OLEPUBLIC). Visual FoxPro does not enforce type checking during compilation or code execution. Strict typing is also recommended for use with the interface methods specified by IMPLEMENTS.

It seems to me you can define any VFP type, or class name, or OLE class, and intellisense will be able to provide help for that variable.

BOb


>I have been going through the new VFP documentation supplied in the July 2001 MSDN Library.
>
>While I see the new "As" clause for LOCAL, LPARAMETERS, PARAMETERS, etc. I cannot find anything that explains/describes how/what can be coded there.
>
>Under the topic "Strong Typing in Class, Objects and Variable code" there are examples such as:
>PUBLIC ARRAY MyArray[2] AS _form OF ffc\_base
>
>LPARAMETERS MyParam1 AS string OF _base.vcx
>
>PARAMETERS MyParam1 AS custom OF Mybase.vcx
>
>Any help appreciated.
>
>JimN
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform