Experimenting with B4XTable and in that the data is set with a list of arrays.
Now in these arrays I have Excel dates and I need to alter these to tick dates and I do this with
this code fragment:
There is nothing wrong with this at all and it is quite fast and definitely fast enough, but I wonder if there would
be neater way to do this, avoiding the transfer to the second list, lstCSV2.
RBS
Now in these arrays I have Excel dates and I need to alter these to tick dates and I do this with
this code fragment:
B4X:
For c = 0 To arrDataTypes.Length - 1
If arrDataTypes(c) = "XD" Then
For i = 0 To lstCSV.Size - 1
Dim arrRow() As String = lstCSV.Get(i)
arrRow(c) = cMP.ExcelDate2Ticks(arrRow(c))
lstCSV2.Add(arrRow)
Next
End If
Next
There is nothing wrong with this at all and it is quite fast and definitely fast enough, but I wonder if there would
be neater way to do this, avoiding the transfer to the second list, lstCSV2.
RBS