Read .Txt file

What I have to do for read data from a file .txt


Re: Read data from a text file

josewiniawer ... I do that, by opening 'file.txt' as a BYTE file. That reads the entire text file as a single string variable, like y$. y$ can have in it ANY of the 256 8-bit characters in 'file.txt. What you do to extract numeric OR string characters can't be described in a TB Forum message. What you have to do is examine y$ for the data you want to extract. It's not hard for me to do, but it takes skills I have developed over time. I can even extract data from a Microsoft Excel file. Regards ... Tom M