[Coco] End-of-Line Character

Rod Barnhart rod.barnhart at gmail.com
Sat May 5 18:13:48 EDT 2007


On 5/5/07, Manney <mannslists at invigorated.org> wrote:
> Rod Barnhart wrote:
> > On 5/5/07, Joel Ewy <jcewy at swbell.net> wrote:
> >> Manney wrote:
> >> > With the CoCo, I cannot remember for the life of me what constitutes
> >> > the end-of-line character in DECB. Does it use CHR$(10) or CHR$(13) or
> >> > both? It's been way too long since I worked with this.
> >> >
> >> Off the top of my head, ISTR something like this:
> >>
> >> DOS: CRLF
> >> Un*x: LF
> >> Mac & CoCo: CR
> >>
> >> Now which one is what ASCII value?  Are you going to make me open a
> >> book?  :)
> >>
> >> JCE
> >
> > CR is ASCII 13, I think.
>
> I think it's ASCII 10. I'll do some tests in a few minutes. :)
>
> Thanks!
>

After hitting "Send" I thought, "I'm on the internet right now. Why
didn't I just google it?" So I did. I'm sure your test will show it's
13 and LF is 10 ;)


-- 
Rod Barnhart aka Wintermute (http://www.nitemarecafe.com)



More information about the Coco mailing list