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:
01445831
Vues:
145
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform