Hi gang,
I'm embarrassed to have to solicit your help, but I am having trouble
with INPUT# trying to read sets of variable length strings from a data
file. First item in the file is a count of the number of strings that
follow - it inputs fine - all confirmed by reading the same file with
HexEdit 1.0.7. Then I set up a for next loop to read that many strings
into my string array (globally dimensioned: DIM 30 gHnames$ (200). 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).
The loop is a simple:
FOR I = 0 to gNumNames
INPUT #1, gHnames(I)
NEXT I
Something is going right over my head, and I need some help...
TIA,
-= Bob (-: