Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding a Column in a Array
#1
Guys,

I got a table from web using the code below.

Code:
Copy      Help
HtmlDoc k.InitFromText(s)
ARRAY(str) a
k.GetTable(0 a)
int i nc=7
ICsv x._create; x.ColumnCount=nc
for i 0 a.len/nc
,str& firstCell=a[i*nc]
,firstCell.rtrim("")
,x.AddRowSA(i nc &firstCell)

str csv; x.ToString(csv); out csv


Now I'd like to insert a new column in this Table with a string which I've created (called 'sy') in each line.

How can I do that ?

Thanks a lot for helping.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)