xsharp.eu • copy to array
Page 1 of 1

copy to array

Posted: Tue Mar 15, 2022 3:13 pm
by kevclark64
It appears to be the case (using version 2.11) that, if an array is dimensioned with more columns than a corresponding table contains, you get a Bound Error when you copy to array. In other words, if you dimension myArray(1000,4) and the table you are copying has only three columns then it generates a Bound Error. In Foxpro, if an array has more columns than a table then the extra columns simply contain .f.

copy to array

Posted: Tue Mar 15, 2022 3:53 pm
by robert
Kevin,
Thanks for the report. We'll look into this asap.

Robert

copy to array

Posted: Tue Apr 05, 2022 3:37 pm
by robert
Kevin,
Fixed in next build

Robert

copy to array

Posted: Thu Apr 07, 2022 2:25 pm
by kevclark64
Thanks, that's very helpful.