02-26-2014, 10:04 AM
Here you go,
Please rename the attachment to test.csv. The attachment uploader won't let me upload csv.
Please rename the attachment to test.csv. The attachment uploader won't let me upload csv.
str s ss
ICsv v._create
v.FromFile("c:\test\test.csv")
int nr=v.RowCount
int nc=v.ColumnCount
int r c
for r 0 nr
;out "--- row %i ---" r
for c 0 nc
s=v.Cell(r c)
;out s
v.ToString(ss)
;out ss
;v.ToArray(ARRAY(str)*a) Error in Macro: ARRAY variable cannot be declared inline.
ARRAY(str) a.create(nc nr)
v.ToArray(a)
for r 0 nr
;out "--- row %i ---" r
for c 0 nc
out a[r c]
;out s