Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a property to a function by reference
Message
De
12/10/2001 11:55:26
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00567692
Message ID:
00567697
Vues:
9
>Anyone know of a way to pass an array property to a method or external function by reference:
>
> = MyFunction(@This.aList)
>
>doens't work!
>
>Cheers
>
>Malc

acopy(this.aList,aNew)
=MyFunction(@aNew)
dimension this.alist[1]
acopy(aNew,this.aList)

Or if your function is prepared for it pass object ref.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform