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:
01445831
Views:
146
This message has been marked as the solution to the initial question of the thread.
>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"
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform