This is a follow-up to a previous question (Read Until Delimiter).
My code working fine / doing what I want, I use it into a different project.
In fact, I copy the Action Handler (from the Navigator) and I paste it into the right location in the new project.
I ran the project, load a file and Horror ! Tragedy ! Misfortune !
I miss the first column (entirely: heading and data ), from 4 columns (First Name, Last Name, Birth date and Party).
After a momment of fear, I checked my text file using QuickLook (OS X / El Capitan): the columns are there.
Ive added a break point and step in the debugger
OK.
I added a local variable only to know what Split do, run, debugger: OK
Next instruction is LB.AddRow.
I fired the application I build yesterday from the project I took the code from Load the text file (the same, not another):
I have all my Columns.
The mystery darkens I wrote earlier.
Xojo 2015r1 / El Capitan .6, Internet ON.
It was
stupid (I do not have a license for 2016r1), I quit 2015r1, fired 2016r3, run open the text file and still no first name (my first column does not exists).
Hum to have a little snack