Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create Empty class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01445826
Message ID:
01445943
Vues:
153
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"
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform