Hi
@G-ShadoW I've looked at the attachment and it errors immediately on entering the loop. This is because the program is looking for a ":" (colon) to separate the values but the text file uses ";" (semi-colon's) and so the code is broken at this point. My intention is to help you along the way to finding the solution and for you to hopefully get a better understanding of the way
your program works.
As you are new to programming, you may not be aware of the powerful debugging features that B4A has? Please see the screenshot below...
You access this by selecting either of the Debug options in the same drop down list used to compile the App. Break points can be placed almost anywhere in your code by clicking on the left-hand edge of the screen. The "F5" key will continue running the program after stopping at a break point and "F8" will step the program one line at a time, I find this especially useful. I also add lots of Log() statements (see blue highlighted lines) whilst debugging to see exactly what's happening in the program, these statements appear in the right-hand window. As you can hopefully see from the screenshot, there's a wealth of information. I can see all the contents of the list "MyList" and the line that is extracted along with the actual value that the program will be comparing with the text value.
Please don't take these comments as condescending in any way, I am purely trying to help you in a way that will allow you to continue working through the problem and the many problems that will undoubtedly arise in the future, indeed there is something new that I struggle with most days
. If all that you are after is the solution then I am the wrong person to be helping and please let me know.