Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading class properties without instantiating a class
Message
 
 
To
29/09/2006 16:45:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01158181
Message ID:
01158288
Views:
33
>
>WITH NEWOBJECT("CLASS","CLASSFILE_VCX_PRG",0)
>   for p=1 to AMEMBERS(apnames,this)
>     pvalue=getpem(.class,ap[p])
>     * writeexpression/addproperty
>   next
>   * other
>ENDWITH
>
Also what can we do if we don't want to supply the second parameter? All our class libraries and programs are in memory and we never specify classlibrary when instantiating a class.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform