Hello
in a data file, consisting of 2 series who do not necessarily always have the same number of values, I try to a make an INPUT from the 2nd series of data.
I therefore thought used the top of the 2nd series to begin the process of collecting the information, but I can't.
Here is the sample data file:
Data series 1:
alpha
bravo
charly
delta
echo
.
.
.
Data series 2:
1,25
2,35
3,45
4,55
5,66
.
.
.
Here is the sample code I thought use, I use a string of the title of the string to start collecting:
canal01 = OPEN ( "TEXT" , "data.txt" , "MODE=RO , fullpath , dialog" )
FOR i = 1 TO 6
n = INPUT ( canal01 , "Data series 2:" + i , 1 , nb )
p [ i ][ 1 ]= nb
PARAMETERS p [ i ][ 1 ]= p [ i ][ 1 ]NEXT i
CLOSE canal01
I cannot understand or is the error, and I even tried without a loop FOR n = INPUT ( canal01 , "Data series 2:" , 1 , nb ) it does not work either.
Here is what says the aid:
recordID (numerical or string): the string or numeric ID of the starting position of the reading.
Thanks for your help.
Olivier.