[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LF/CR conversion



  To: mmphosis
On Fri, 12 Jan 2007 00:11:48 -0800, "mmphosis" <markstock@mail.com>
wrote:

>REM convert linefeed to return
>REM * Applesoft BASIC, DOS 3.3 (might work with PRODOS)
>REM * maximum line length limited to 255 characters
>REM * use of GET may be slow

This is why I didn't finish my Applesoft program.  I was trying to
avoid using GET as it is slow.  I was BLOADing the input file in
chunks into memory but then I ran into a few problems like having to
load the next chunk if the last character is a CR to see if the next
character is a LF.

It would be a pretty slick program so I might try to finish it up
tonight or tomorrow.  Especially due to the fact that it can take
files with CR, CR/LF or LF as the end of line marker and convert it to
whatever format you want.

Jeff Blakeney
- to send me e-mail, CUT the obvious from my e-mail address
--- Synchronet 3.13a-Win32 NewsLink 1.83
A2Central.com - Your total source for Apple II computing.