It just occurred to me that when the last record is captured by the read 
statement, the repeat loop will attempt one more read because the eof 
hasn't been reached.  However, the read statement is looking for "//", 
not eof.  What happens when it never encounters "//"?

open file tDatapath
repeat until it is eof
  read from file tDataPath until "//"
  put it into tProcessData
  --either call a function, or for speed do the processing
  --given the size of your file, do it here
end repeat
close file tDataPath

     Greg




_________________________________________
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