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

Re: Applesoft problem with reading text files



On 9/26/2010 1:08 PM, DMn2004404 wrote:
While writing a "ProDOS Text File Displayer" in Applesoft BASIC, I've
encountered a nagging problem that Applesoft BASIC has with reading
text files. It seems to stop reading a line of text when it encounters
a comma, so that when it encounters a line of text that says, say,
"Lorem ipsum dolor sit amet, consectetuer adipiscing elit," all that
BASIC will read is "Lorem ipsum dolor sit amet", ignoring the rest of
the line.

I probably sound stupid, but it sounds like there is a command or a
method that forces BASIC to read an entire line in a text file,
including commas. If so, what is it?

Brandon Taylor

It is this limitation of the INPUT command that spawned so many
"INPUT anything" routines many years ago.  Call-A.P.P.L.E. had
an excellent one.

-michael

NadaNet 3.1 for Apple II parallel computing!
Home page:  http://home.comcast.net/~mjmahon/

"The wastebasket is our most important design
tool--and it's seriously underused."