devxlogo

Binary Files

Binary Files

Question:
I’ve read your article on text files. However I would like to know how one achieves the same functionality with binary files(i.e. How do you read in a binary file, read past all the empty lines and weirs characters and convert these characters to ASCII?)

Answer:
You can use streams or even BlockRead and BlockWrite functions on untyped files. Look these up in the online help.

devx-admin

Share the Post: