Jhd.Honza
Jan 7th, 2000, 07:33 PM
I opened some binary file (for example icon) as BINARY and the new file as binary too.
I used put 2,,input(lof(1),1), but I found, that this method adds 4 charactets before the file's data (this makes the file unusable). I've tried to use mid or right functions, but with same results. How can I copy binary data from one file to another?
Please, don't link me to FILECOPY statment, because I would like to select some binary data from text file to save it in new binary file in the future.
------------------
Thanks,
John, 14 years old
I used put 2,,input(lof(1),1), but I found, that this method adds 4 charactets before the file's data (this makes the file unusable). I've tried to use mid or right functions, but with same results. How can I copy binary data from one file to another?
Please, don't link me to FILECOPY statment, because I would like to select some binary data from text file to save it in new binary file in the future.
------------------
Thanks,
John, 14 years old