Re: open file?

new topic     » goto parent     » topic index » view thread      » older message » newer message

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
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu