Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Empty class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01445826
Message ID:
01445943
Views:
154
Thank you so much!
Mike

>>I'm brain dead today ,and not finding it in the help file..
>>
>>I want to create an object based on the empty class.
>>I need to add properties for an array and a numeric value and a text value
>>
>>I can't remember the proper syntax to create this object.
>>
>>TIA
>>Mike
>
>
>oEmpty = CREATEOBJECT("Empty")
>ADDPROPERTY(oEmpty,"MyNumeric", 0)
>ADDPROPERTY(oEmpty,"MyChar", "Something")
>ADDPROPERTY(oEmpty,"MyArray[1,2]")
>oEmpty.MyArray[1,1] = 123.45
>oEmpty.MyArray[1,2] = "Other"
>
Previous
Reply
Map
View

Click here to load this message in the networking platform