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--