Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object Value by Reference
Message
 
À
14/04/2003 12:11:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00777263
Message ID:
00777272
Vues:
7
>Is it possible to pass an Object value by reference?
>
>eg. x = myFunction(@loObject.ABC) && where loObject is an object and ABC is one of the data records in the object
>
>It is giving me an error that it cannot find the alias 'loObject'
>
>Thanks

You cannot pass the property by reference but you can pass the object itself.

x = MyFunction(@loObject)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform