Sequential file access and binary file access

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

I have a .txt file, whose contents need to be read and processed. Which
among the following is the best way to do it?

- Using Sequential file access functions (FileOpen, LineInput, etc)
- Using binary file access functions (File.Open, FileGet, etc)

Thanks,
kd
 
Hi Cor,

When should one use sequential file access and when to use binary acess to
read .txt files?

Thanks,
kd
 
KD,

When all characters(bytes) are readable as txt file, you should in my
opinion never use the binary access.

However just my thought, I never tried it because I even don't think about
another way.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top