Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a property to a function by reference
Message
From
12/10/2001 11:55:26
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00567692
Message ID:
00567697
Views:
8
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform