02-26-2014, 04:15 AM
Hi,
My csv has a single column of values that I wish to save into an array using v.ToArray
I took the code ( ToArray(ARRAY(str)*a)) from the help file but it says "Error in Macro: ARRAY variable cannot be declared inline."
so I tried the following but the array isn't fully filled it seems
int nr=v.RowCount
int nc=v.ColumnCount
ARRAY(str) a.create(nc nr)
v.ToArray(a)
Thanks for reading.
My csv has a single column of values that I wish to save into an array using v.ToArray
I took the code ( ToArray(ARRAY(str)*a)) from the help file but it says "Error in Macro: ARRAY variable cannot be declared inline."
so I tried the following but the array isn't fully filled it seems
int nr=v.RowCount
int nc=v.ColumnCount
ARRAY(str) a.create(nc nr)
v.ToArray(a)
Thanks for reading.