Re: Help: Getting Sequences from Files
- Posted by Patrick Barnes <mrtrick at gmail.com> Jul 22, 2004
- 523 views
If you *really* wanted to use the binary format (which is not recommended unless you must make your data not readable to human eyes), then you would have to use a different method than print to store your data, and make up your own format for storing pictures. This is not recommended, remember... actually, I've been programming in Euphoria for about 6 years, and I've never needed the binary format. (non-binary is essentially plain-text) Binary format is mainly needed for reading and writing a particular format of file, such as jpg, or midi. On Thu, 22 Jul 2004 10:20:47 +1000, Patrick Barnes <mrtrick at gmail.com> wrote: > The problem is that you are trying to use the binary format. > Remove the 'b' from your file open calls, and use get(FN) instead of > get_bytes. > get_bytes is to retreive a 1d sequence of bytes from the file. get > will actually find the structure. -- MrTrick