P
Peter Hartlén
Hi!
Which is the best (fast but faily simple) way to read a section of a
textfile if you know which lines to start and stop?
This is what I am thinking about using, is there a better way?
rowStart = 10;
iLineNum = 1;
while( iLineNum < rowStart )
{
if( sr.ReadLine() == null )
break;
iLineNum++;
}
Thank,
Peter
Which is the best (fast but faily simple) way to read a section of a
textfile if you know which lines to start and stop?
This is what I am thinking about using, is there a better way?
rowStart = 10;
iLineNum = 1;
while( iLineNum < rowStart )
{
if( sr.ReadLine() == null )
break;
iLineNum++;
}
Thank,
Peter