I am really struggling to get my brain around loading an array, or list with data that has been exported from Excel with a TAB delimiter. This is what I have so far.
At the end of the day, I am wanting to be able to retrieve the data with something like:
Cell_Value = Data_Array (Row, Column)
At the end of the day, I am wanting to be able to retrieve the data with something like:
Cell_Value = Data_Array (Row, Column)
B4X:
Dim Data_Filename As String = Building_Name & ".Readings"
Dim ALL_Data As List
ALL_Data.Initialize
ALL_Data.clear
ALL_Data = File.ReadList(File.DirInternal,Data_Filename)
Dim Row_Count As Int = 0
Dim Data_Array() As List
For Each Row_of_Data In ALL_Data
Row_Count = Row_Count +1
Data_Array().Set(Row_Count) = Regex.Split(TAB, Row_of_Data)
Next