Hello,

For example there is a text file,c:/xxx
aaa
bbb
ccc
I am able to use readline("c:/xxx","2") get the value being bbb

But i would like to know how to use file.readline to get the value of the line. 
I have tried

fh = file.open("c:/xxx.txt","r")
s = file.readline(fh,"2")       
win.debug(s)

There is no any display. What is the wrong?

And the other question is the following command in the help
for (lineNum=1;1;LineNum=LineNum+1)

What is the meaning about;1;
Is it Infinity?



Reply via email to