[futurebasic] Re: [FB] INPUT #

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 1999 : Group Archive : Group : All Groups

From: Jay Reeve <jktr@...>
Date: Sat, 30 Jan 99 01:15:13 -0600
>For 
>the first INPUT# 1,gHnames$(I), I see (in the debugger) the first string, 
>fine.  For the second time through the loop, I see the third string - I'm 
>not getting the even numbered strings... Where could they be going, what 
>am I doing wrong here?
>
>The strings are in the file delimited with carriage returns and each 
>string is preceeded by a hex 22 (double quote).

Hi Bob,

This is just a guess, but it sounds to me as if it's reading just the 
strings _between_ quotes. If, as your post suggests, there is only one 
quote per string, you'll get only half the strings. It may read the first 
string from quote to quote, including the CR, then look for the next 
quote (at the beginning of line 3) before starting again.

 0"0
 =J= a  y
  "