csv files are read by access in an import function what escapes me is how to do this in code ... Choose() is close but not exactly working the way I expected.
given; strList = "a,b,c"
? NumElements(strList) ' number of elements in list
for inI = 1 to NumElements(strList)
? Element(inI,strList)
next
Choose requires that its element list be separated ...
"a","b","c" ... this doesn't appear to allow for a function call; Choose(inI,strList)
so getting back to the CSV file
while not eof()
strLine = readline
for inI = 1 to numElements(strLine)
' do some code with element(inI,strLine)
next
loop
given; strList = "a,b,c"
? NumElements(strList) ' number of elements in list
for inI = 1 to NumElements(strList)
? Element(inI,strList)
next
Choose requires that its element list be separated ...
"a","b","c" ... this doesn't appear to allow for a function call; Choose(inI,strList)
so getting back to the CSV file
while not eof()
strLine = readline
for inI = 1 to numElements(strLine)
' do some code with element(inI,strLine)
next
loop