Hello,
im new to B4A & have not previously used VB.
I would like to read/interpret a .CSV file (3 columns, nominally 500 rows). I have successfully imported it as a list, but I am having some trouble extracting data from the list. I would like to do so in the way typically used for arrays (in other languages)
I.E. value = my_array[x,y]
I am wondering if a list can be a 2D entity as I have only seen example code addressing 1 axis of a list.
Is it the case that my list import
Dim lst As List
lst = su.LoadCSV(File.DirRootExternal, "locations1.csv", ",")
has created a one dimensional array?
If so, could someone pass me a recommendation to imprt a .csv to a 2D array?
Alternatively a recommendation of appropriate ref material would be useful.
I looked at the scrollview example, but I couldnt follow how the data was broken out from a list to a 2D data set .
Many thanks.
refsmmat
im new to B4A & have not previously used VB.
I would like to read/interpret a .CSV file (3 columns, nominally 500 rows). I have successfully imported it as a list, but I am having some trouble extracting data from the list. I would like to do so in the way typically used for arrays (in other languages)
I.E. value = my_array[x,y]
I am wondering if a list can be a 2D entity as I have only seen example code addressing 1 axis of a list.
Is it the case that my list import
Dim lst As List
lst = su.LoadCSV(File.DirRootExternal, "locations1.csv", ",")
has created a one dimensional array?
If so, could someone pass me a recommendation to imprt a .csv to a 2D array?
Alternatively a recommendation of appropriate ref material would be useful.
I looked at the scrollview example, but I couldnt follow how the data was broken out from a list to a 2D data set .
Many thanks.
refsmmat