Hello Ozkan,

> ; script that detects the line
> ; on which the file ends
> Local numLine
> Local strFile = File.Open("C:\win2.txt", "r")
> For (numLine = 1 ; File.EOF(strFile) == 0 ; numLine = numLine + 1)
> File.ReadLine(strFile)
> EndFor
> Debug End of file is in line &(numLine - 1)

Or shorter

myNumberOfLines = Line(File.Readall("C:\win2.txt"), 0)



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to