mathan wrote:
But isn't it possible to display the array in hexadecimal numbers in the required format instead of strings?
If you want to write a binary file with variable lenght records, you need to write additional information, such as the record lenght for each record or define termination character(s). The concept of "lines" does not exist in binary files. Since you did hexadecimal formatting in your original exmple, I did the same since I thought that is what you want.
Message Edited by altenbach on 12-30-2008 07:47 AM