Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assign method with array
Message
 
 
To
18/06/2006 02:15:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01129783
Message ID:
01129830
Views:
11
No. You cannot directly assign an array to another array in VFP. It can only be done with ACOPY() or item by item. The ACOPY() or any other native array function don't trigger Assign/Access. You can create a method on your class to do that but you'll have to pass array to it by reference.

>I'd like to use an _assign method of a class property to pass an array with two elements. Can it be possible and how?
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform