Re: open file?

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

On Fri, 4 Feb 2000 14:55:32 -0500, Robert Craig <rds at ATTCANADA.NET> wrote:

>The file handle number returned by DosOpen is not meant to be
>the same as the file handle number returned by Euphoria's open().
>If there's some relationship, it's just a coincidence, and should not
>be relied on.
>

>Why are you trying to use DosOpen?
>In his comments Jacques assumes that loading a file into
>memory with normal Euphoria operations is slow.
>This is a myth. Do some measurements before you
>decide that you need DosOpen. You'll probably
>only save a few milliseconds, and your code won't
>be portable to Windows or Linux.
>
>Regards,
>     Rob Craig
>     Rapid Deployment Software
>     http://www.RapidEuphoria.com

Rob:

  Then How do I write binary block structures to disks; a byte at a time ??

  If a file handle is not standard then how will Euphoria ever be able to

  use files when another application has them open under conflicting

  handles. That means that a user also can only do things with files

  that use built-in features. ( which aren't always there )

  Thanks
Bernie

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

Search



Quick Links

User menu

Not signed in.

Misc Menu