writing to Bin files
Moderators: JRL, Dorian (MJT support)
-
- Junior Coder
- Posts: 36
- Joined: Fri Oct 12, 2007 5:55 pm
- Location: federal way wa
- Contact:
writing to Bin files
Hey guys, I'm using Mac Sched ver 7.4.09 - is there a way in this or any version to write from a text file to a bin file. Meaning if I have an empty bin file can I use the ReadLn command to read a text file and then write that line to the bin file...???
Define empty bin file. My understanding is that "bin" file is short for binary file and ALL files are binary.
If you mean that you have a file with a .bin extension and that extension is associated with a particular application installed on your computer. Then you probably need to create the .bin file with a specific structure in order for your application to understand the data contained in the file.
Text files are files that happen to contain only characters that can be typed from your keyboard. If you copy text characters from a text file you can use the Writeln> function to write those characters to ANY file. But doing that does not mean that the application associated with the .bin extension will be able to use the file to which you have written the text.
That said, Writeln> can be used to write any ansi characters to any file.
Hope this makes sense.
Dick
If you mean that you have a file with a .bin extension and that extension is associated with a particular application installed on your computer. Then you probably need to create the .bin file with a specific structure in order for your application to understand the data contained in the file.
Text files are files that happen to contain only characters that can be typed from your keyboard. If you copy text characters from a text file you can use the Writeln> function to write those characters to ANY file. But doing that does not mean that the application associated with the .bin extension will be able to use the file to which you have written the text.
That said, Writeln> can be used to write any ansi characters to any file.
Hope this makes sense.
Dick