Thanks Dave Cragg,

     86,213 records identified in 224 seconds.  Beats thumbing through 
over 3,000 pages of text.

     Cheers,

          Greg





On 6/12/2000 9:19 am, Dave Cragg wrote:

>I think eof is returned in the result. Try this:
>
>put 0 into counter
>open file tDatapath for read
>  repeat
>   read from file tDataPath until "//"
>   if the result is not empty then exit repeat
>   add 1 to counter
>end repeat
>close file tDataPath
>put counter
>
>This should jump out of the loop either after eof is reached, or an 
>error occurs.
>
>Cheers
>Dave Cragg



_________________________________________
Gregory Lypny
Associate Professor of Finance
Concordia University

_________________________________________
"Take chances, make mistakes!"
       - Ms Frizzle, The Magic School Bus



Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to