Re: Trouble reading bytes

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

On Fri, Aug 01, 2003 at 04:13:55PM -0400, Elliott Sales de Andrade wrote:
> 
> 
>  Ah, the joy of Topica. What happened to the e-mail that I sent in reply 
> that actually had anything important in it??
> 

I got it.

jbrown

> >From: Derek Parnell <ddparnell at bigpond.com>
> >Reply-To: EUforum at topica.com
> >To: EUforum <EUforum at topica.com>
> >Subject: Re: Trouble reading bytes
> >Date: Fri, 1 Aug 2003 17:14:41 +1000
> >
> >
> >----- Original Message -----
> >From: "Elliott Sales de Andrade" <quantum_analyst at hotmail.com>
> >To: "EUforum" <EUforum at topica.com>
> >Sent: Friday, August 01, 2003 3:48 PM
> >Subject: Re: Trouble reading bytes
> >
> >>
> >> >From: Derek Parnell <ddparnell at bigpond.com>
> >> > >From: dstanger at belco.bc.ca
> >> <snip>
> >>
> >> >The "puts" routine sends BYTES to the specified device, not SEQUENCES.
> >>
> >> You mean I can't do puts(1, "a sequence that happens to be a string") ??
> >> That is a sequence after all.
> >>
> >> I believe Derek meant:
> >>
> >> The "puts" routine sends a sequence of BYTES to the specified device, 
> >not a
> >> sequence of SEQUENCES.
> >>
> >> which, BTW, David was not doing...
> >>
> >
> >No, that is NOT what I meant at all. I meant what I said.
> >
> >puts() ONLY WRITES BYTES!
> >
> >Try this...
> >
> >  puts(fn, {400,500,600,700})
> >
> >You should get written out to 'fn' 4 BYTES - not a Sequence containing 4 
> >bytes. The four bytes are #90, #F4, #58, #BC.
> >
> >> You mean I can't do puts(1, "a sequence that happens to be a string") ??
> >
> >Of course you can. But each element is converted to a byte value first 
> >before outputting it.
> >
> >
> >--
> >Derek
> >
> 
> 
> 
> TOPICA - Start your own email discussion group. FREE!
> 
> 

-- 
 /"\  ASCII ribbon              | http://www.geocities.com/jbrown1050/
 \ /  campain against           | Linux User:190064
  X   HTML in e-mail and        | Linux Machine:84163
 /*\  news, and unneeded MIME   | http://verify.stanford.edu/evote.html

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

Search



Quick Links

User menu

Not signed in.

Misc Menu