1. File handles

Hi, while coding DOS.E I found that DOS file handles (returned from some
int21 calls) doesn't match Euphoria's file handles (open). Am I right? Can
dos handles be converted into euphoria handles?
You can understand what I mean if you look at function mkdir() at dos.e, I
had to close the file (using dos functions) before returning... otherwise
you wont be able to delete the file.

Regards,
    Daniel Berstein
    daber at pair.com

new topic     » topic index » view message » categorize

2. Re: File handles

Daniel Berstein writes:
> Hi, while coding DOS.E I found that DOS file handles
> (returned from some int21 calls) doesn't match Euphoria's
> file handles (open). Am I right? Can dos handles be
> converted into euphoria handles?

The number that Euphoria's open() returns is just an
artificial number assigned by Euphoria. If it has any relation
to the DOS file handle, it's just a coincidence. Don't rely on it.

Regards,
     Rob Craig
     Rapid Deployment Software

new topic     » goto parent     » topic index » view message » categorize

3. Re: File handles

> Data de tramesa:   Tue, 9 Jun 1998 01:16:49 -0300
> Enviar resposta a: Euphoria Programming for MS-DOS <EUPHORIA at
> cwisserver1.mcs.muohio.edu>
> De  :              Daniel Berstein <daber at PAIR.COM>
> Assumpte:          File handles
> A:                 EUPHORIA at cwisserver1.mcs.muohio.edu

> Hi, while coding DOS.E I found that DOS file handles (returned from some
> int21 calls) doesn't match Euphoria's file handles (open). Am I right? Can
> dos handles be converted into euphoria handles?
> You can understand what I mean if you look at function mkdir() at dos.e, I
> had to close the file (using dos functions) before returning... otherwise
> you wont be able to delete the file.
>
> Regards,
>     Daniel Berstein
>     daber at pair.com
>
Hi Daniel,
 Where I can find the DOS.E file?
 It's a kind of shell for DOS?

[French Open]
(He,he,he)...what happened to Marcelo Rios?

Regards,
  Luis

new topic     » goto parent     » topic index » view message » categorize

4. Re: File handles

-----Original Message-----
De: CAMPOS ARRIBAS- LUIS RAUL <95203695 at XAEE.UB.ES>
Para: EUPHORIA at cwisserver1.mcs.muohio.edu
<EUPHORIA at cwisserver1.mcs.muohio.edu>
Fecha: jueves 11 de junio de 1998 6:28
Asunto: Re: File handles


>> Hi, while coding DOS.E I found that DOS file handles (returned from some
>> int21 calls) doesn't match Euphoria's file handles (open). Am I right?
Can
>> dos handles be converted into euphoria handles?
>> You can understand what I mean if you look at function mkdir() at dos.e,
I
>> had to close the file (using dos functions) before returning... otherwise
>> you wont be able to delete the file.


>Where I can find the DOS.E file?
>It's a kind of shell for DOS?

It's an extension to file.e (comes with euphoria). It let's you create,
remove, move, rename, etc... files and directories without having to use a
system() call. It supports long filename if the program runs on DOS 7+.

You can get it from RDS User contributions page.

>[French Open]
>(He,he,he)...what happened to Marcelo Rios?

The same that just happened at the Wolrd Cup (Italy vs. Chile)

            8(

[For football fans: 1.- Was it a legal penalty? I think the hand wasn't
intentional]

[                               2.- Where can I send a pair of glasses to
the referee?           ]


Regards,
    Daniel   Berstein
    daber at pair.com

[...C, H, I, CHI.... L, E, LE.... CHI,CHI,CHI... LE,LE,LE... VIVA CHILE!!!!]

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu