Re: file limit
- Posted by CoJaBo <cojabo at suscom.net> May 28, 2004
- 470 views
What is the exact value of path? Try print() and puts() (just puts() may be hard to see a space at the begining or end) Lewis Townsend wrote: > > > Howdy folks, > > Ok I can't duplicate the problem in a another (smaller) program. > Opening 2 files at once works fine. > Also on my main program I modified it so that it would not have > both open at the same time and the problem still persists. > I'm sure it's something really obvious and simple in my logic but > I just can't see it. > > Basically the error I get is that a file number is -1 > which means the file open statement didn't work. > I just cant figure out why! > The path I try to open is assembled by the program from sequences > but I know the path is correct because I wrote it to another file > (which opened fine) then opened that file and copied it to the > command line edit comand and it opened the file fine from edit too. > > Any suggestions folks? If I post the whole program it's large and > multiple files and requires Euallegro and some bitmaps and other files. > <font color="#330033">What could cause an </font><font > color="#FF00FF">open</font><font color="#330033">( path, </font><font > color="#00A033">"r" </font><font color="#330033">) statement </font><font > color="#0000FF">to </font> > not work? > > help! > LewyT >