Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass a reference to an array member of an object?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01298464
Message ID:
01298469
Vues:
15
Jim,

You can also pass a reference to the object and then use its array proeprty in the called function;
* calling program
oMyObj = CREATEOBJECT("MyClass")

FunctionCall(oMyObj)

FUNCTION FunctionCall(toObj)

toObj.ArayProperty(1,2) = "Whatever"

RETURN
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform