09-13-2017 10:15 AM
I developed a vi to write a 2D arrray file into binary format. But the output file is something else which is not readable. I don't know what I am doing wrong.
Solved! Go to Solution.
09-13-2017 10:40 AM - edited 09-13-2017 10:44 AM
Nothing is done incorrectly - but you don't seem to understand what write to binary file does. It writes more or less the internal memory RAM representation of your data to disk.
Regards, Jens
EDIT: Perhaps you can tell us what you expected the file to look like...
09-13-2017 10:46 AM
Binary is only machine readable. Just write a program read it again using the appropriate tools and you get all your data back. 😄
And don't use a *.txt extension, because it is not a text file!