Re: open file?
- Posted by "Lucius L. Hilley III" <lhilley at CDC.NET> Feb 04, 2000
- 474 views
You didn't specify how you are opening the file but I assume the following. integer handle handle = open("filename.ext", "rb") or "wb" but you should be using "ub" for random data files. PS: Just a hunch. (Really, more info. is needed to combat your problem) Lucius L. Hilley III lhilley at cdc.net +----------+--------------+--------------+ | Hollow | ICQ: 9638898 | AIM: LLHIII | | Horse +--------------+--------------+ | Software | http://www.cdc.net/~lhilley | +----------+-----------------------------+ > ---------------------- Information from the mail header ----------------------- > Sender: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU> > Poster: Bernie Ryan <bwryan at PCOM.NET> > Subject: open file? > -------------------------------------------------------------------------- ----- > > When I use Rob's built-in file open to open a binary file. > > When I write a block of data to the file I get a message > > Critical Error: Abort, Retry, Ignore, Fail? ( in WIN95 dos ) > > When I open a binary for r/w using Jacques DosOpen in doswrap.e > > which uses #3D02 or #716C functions there is no error ? > > What file open function is Eu using and what mode numbers do the mode > > sequence really represent ??? > > > Bernie >