I am having an array a(n,199). For n=99, how to save it as a csv file so that I have 100 columns and 200 rows?
For n=3 for example, I can use
but for large n this becomes unhandy.
There is the hint that one could "add the array directly using Addall", but I can't figure it out.
For n=3 for example, I can use
B4X:
For i=0 To 199
CSVlist.Add(Array As String(i,a(i,0),a(i,1),a(i,2),a(i,3)))
Next
su.SaveCSV("d:\",filename&".csv",",", CSVlist)
There is the hint that one could "add the array directly using Addall", but I can't figure it out.