Re: Help: Getting Sequences from Files

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu