I have an ASCII file which contains empty lines, and I have wrote a function which open the file, removes empty lines and re-create it in order to use it in a dataport.
I have manually calculate each line characters.
Each line is 211 chars. So when I use
streamInTest.READTEXT(Txt, LineLength);
the variable LineLength is 211 for this specific file.
Is there any property or any method which returns me each line length?
I want to use the same code without needed to enter manually the line length...
Comments
Is there any solution?
Thank you
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.