[futurebasic] Re: [FB] Line Input

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2016 : Group Archive : Group : All Groups

From: Ted Spencer <tedspencer50@...>
Date: Mon, 31 Oct 2016 20:27:56 -0400
> On Oct 31, 2016, at 11:28 AM, Rich Love <carnationsoftware@...> wrote:
> I am using line input# to read lines from a unix file I have opened like this...
> open "Unix", 1, “Some Unix Command Here"
> line input #1,theLineString

Read #1,x;0 will read a character if there is one to read and leave if there isn’t one, avoiding the hangup. You can check if it got something by looking at the length of x.

a = LOF #1,1 will tell you how many characters are there to be read.