Re: Can't create error message file: ex.err
- Posted by don cole <doncole at pacbell.net> May 28, 2005
- 630 views
akusaya wrote: > > It happens if you open()ed a file but never closed it, so the maximum > number of open files is reached, Eu cannot open ex.err. > > You should examine your code to make sure it's closed. > The common mistake is: > > > -- **A > for i = 1 to ... do > fn = open("filename", "r") -- **B > for j = 1 to ... do > read a line from file > process line > end for > end for > > **B should be placed on **A. > > That's it. I was openning and reading 258 files and not closing any. Thank you, akusaya Don Cole SF