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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement