Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AINS() doesn't work?
Message
 
 
To
08/12/2004 10:34:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00967750
Message ID:
00967756
Views:
19
You cannot insert new column into an array and preserve existing data because AINS doesn't redimension array. IOW, the last column in the array will be lost.

>I want to insert a new column to a existing 2-dimensional array. I used the foxpro function aIns() to do this:
>
>DIME aMyarray[2,10]
>aMyarray = "ABC"
>=aIns(aMyarray,10,2)
>
>The result is that the aMyarray[2,10] becomes the new value .F. instead of inserting a new column into this array.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform