Re: What's holding Euphoria back?

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

At 05:14 a.m. 30-01-99 -0500, you wrote:

This answer is a bit outdated buy may explain some things:

>Obviously there is something about Euphoria that I don't
>understand. Below is a small test program that writes data

puts() as it name says is designed to output *strings*. The function will
only output the
lower 8 bits of any number. Try this:

sequence message
message = "Euphoria!"
? message
puts(1, message)
message = or_bits(message, 512)
? message
puts(1, message)

So for binary data the best is to use print(fn,...) and getc(fn).


Regards,
        Daniel   Berstein
        daber at pair.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu