[futurebasic] Re: LINE INPUT statement

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 1998 : Group Archive : Group : All Groups

From: Mel Patrick <mel@...>
Date: Thu, 12 Mar 1998 10:46:07 -0800
>Yes, I had the line input problem.... reading in strings into an index
>array, and having to remove or not an array of line feeds, carriage
>returns and leading spaces here and there.

When you read in lines with LINE INPUT and the lines are CR/LF, the LF's
will always be the first character of the next line (because it stops at
the CR). So all you need do is purge (or ignore) the left character if its
a CHR$(10).

Mel Patrick - theWabbitGuy - mel@...