1. Re: open file? ROB help
On Fri, 04 Feb 2000, you wrote:
> On Fri, 4 Feb 2000 11:54:42 -0500, Bernie Ryan <bwryan at PCOM.NET> wrote:
>
> >This is the problem with file open
> > When I use the builtin open I get a file handle of 3
> > When I use Jacques DosOpen in doswrap.e I get a file handle of 5
> > If I open 2 dummey files before opening my binary file to force it
> > to be file handle 5 then I can write to it without the error message.
> >
>
> Rob when I do the above the write goes to the wrong file it goes to
> file handle 3 instead of 5
> Are you sure that you are returning REAL file handles ???
Bernie,
If there are no other files open, you should get 3.
I have programs which open and close 4 or 5 files hundreds of times each day.
These have been working without fail since November, so I doubt there is
anything flakey about Euphoria's file handling. In fact, the sys admin at the
place where this program is running commented on the excellent stability just
this week. Maybe you need to check your code again.
Regards,
Irv