Hello,
I want to do row data processing with importing a CSV file that has 4 columns. I have this random error on the For Each loop and the Get "Out of bounds. Index=1347794462 Length=4". What is strange, I always have this error in Release mode and occasionally works in B4i-Bridge mode.
Thanks for your help.
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
			
			I want to do row data processing with importing a CSV file that has 4 columns. I have this random error on the For Each loop and the Get "Out of bounds. Index=1347794462 Length=4". What is strange, I always have this error in Release mode and occasionally works in B4i-Bridge mode.
Thanks for your help.
			
				B4X:
			
		
		
		            Dim su As StringUtils
            Dim list As List
            list.Initialize
            list=su.LoadCSV(File.DirLibrary, "api.csv",";")
            list.RemoveAt(0)
      
 
            For Each tempMap As Map In list
              
                libmajparametre = tempMap.Get(0)
                rqanaori = tempMap.Get(1)
                refqual  = tempMap.Get(2)
                limitequal = tempMap.Get(3)