Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Public memvar as type OF CLASS
Message
 
 
To
13/02/2002 16:56:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00619740
Message ID:
00619983
Views:
17
>I have noticed that you can create a variable as part of a class.
>Such as:
>
>PUBLIC array MyArray[2] AS _form OF ffc\_base
>
>Why would you want to do this?
>Thanks,
>Daniel

There is no reason to specify AS clause for a class property. However you can use strong typing with LOCAL command to allow IntelliSense for that type of object. For Example,
LOCAL oWord AS Word.Application
* As soon as you type 
oWOrd.
*the IntelliSense kicks on 
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform