Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] csv - v.toarray problem
#1
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)