comp.lang.ada
 help / color / mirror / Atom feed
* RE: rename missing in Text_IO
@ 2001-05-04 20:50 Beard, Frank
  2001-05-04 21:08 ` Pascal Obry
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Beard, Frank @ 2001-05-04 20:50 UTC (permalink / raw)
  To: 'comp.lang.ada@ada.eu.org'

But why not be part of the standard, maybe in an Annex.  I
almost sympathize with what Ted's saying.  But by his reasoning,
Ada.Command_Line shouldn't be provided either, because the OS
has an interface to do it.  For that matter, none of the IO should
be there because we could pragma interface to all those routines.

I would love to see file handling expanded.  Renaming a file
should be there just as the Delete is there.  Why not have all
the common file operations available.  I think you should be able
to do locking, file or record, from within the language standard.
Getting a directory list should be there too.

Frank

-----Original Message-----
From: Ted Dennison [mailto:dennison@telepath.com]
Sent: Friday, May 04, 2001 9:43 AM
To: comp.lang.ada@ada.eu.org
Subject: Re: rename missing in Text_IO


In article <3af28c5a.12778070@news.nl.uu.net>, Noam Kloos says...

>I just played with filtering some textfiles and found there is no
>function to rename a file;

That's right. There's no function to delete a file, or list a directory
either.
That's all stuff that's considered part of the OS, and thus you are expected
to
make the appropriate OS calls for your platform. Most of the time, your Ada
vendor will have supplied a package that has bindings to those OS calls, but
what it is depends on your vendor and platform.

---
T.E.D.    homepage   - http://www.telepath.com/dennison/Ted/TED.html
          home email - mailto:dennison@telepath.com
_______________________________________________
comp.lang.ada mailing list
comp.lang.ada@ada.eu.org
http://ada.eu.org/mailman/listinfo/comp.lang.ada




^ permalink raw reply	[flat|nested] 25+ messages in thread
* RE: RE: rename missing in Text_IO
@ 2001-05-04 21:47 Beard, Frank
  2001-05-07 14:13 ` Marin David Condic
  0 siblings, 1 reply; 25+ messages in thread
From: Beard, Frank @ 2001-05-04 21:47 UTC (permalink / raw)
  To: 'comp.lang.ada@ada.eu.org'

I'm apologize if I misunderstood you, but I've heard similar things from
others, including some vendors, and assumed that's what you meant.  One of
the vendors told me (highly paraphrased) they basically wait to see where
the market goes and then make bindings to the interfaces.  So, they're
always in a state of catch-up.

As far as Ada.C_Library, I wasn't thinking along those lines.  As a
matter of fact, I wouldn't really even want to make the connection
between the things I want provided in the language and their C counter
parts.  I was thinking more along the lines of your other suggestion,
such as Ada.Directory_Operations, Ada.File_Operations, etc.

Even if the C version is there first, hide that from me.  Take a good
idea and make it better with Ada.  

Frank

-----Original Message-----
From: Ted Dennison [mailto:dennison@telepath.com]
Sent: Friday, May 04, 2001 5:22 PM
To: comp.lang.ada@ada.eu.org
Subject: Re: RE: rename missing in Text_IO


In article <mailman.989009524.30396.comp.lang.ada@ada.eu.org>, Beard, Frank
says...
>But why not be part of the standard, maybe in an Annex.  I
>almost sympathize with what Ted's saying.  But by his reasoning,
>Ada.Command_Line shouldn't be provided either, because the OS
>has an interface to do it.  For that matter, none of the IO should
>be there because we could pragma interface to all those routines.
..
>From: Ted Dennison [mailto:dennison@telepath.com]
>That's all stuff that's considered part of the OS, and thus you are
expected
>to make the appropriate OS calls for your platform. Most of the time, your
Ada
>vendor will have supplied a package that has bindings to those OS calls,
but
>what it is depends on your vendor and platform.

Hey, I never said it was a Good Thing. I just said that this is the way it
is.
For a beginner, that's the main issue.

I actually think it may well be a good thing to have some kind of
Ada.C_Library
package hierarchy in an annex in some future version of the language for
stuff
like that, since the C library realisticly is going to be available on most
Ada
platforms. Perhaps an Ada.Directory_Operations would be a good idea too.
Heck,
I'd even like to see a GUI in the standard, if its possible to agree on a
good
one.

---
T.E.D.    homepage   - http://www.telepath.com/dennison/Ted/TED.html
          home email - mailto:dennison@telepath.com
_______________________________________________
comp.lang.ada mailing list
comp.lang.ada@ada.eu.org
http://ada.eu.org/mailman/listinfo/comp.lang.ada




^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2001-05-12  4:04 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-04 20:50 rename missing in Text_IO Beard, Frank
2001-05-04 21:08 ` Pascal Obry
2001-05-04 21:21 ` Ted Dennison
2001-05-05 21:19   ` Keith Thompson
2001-05-07  8:56   ` Noam Kloos
2001-05-04 23:38 ` Larry Kilgallen
2001-05-04 23:17   ` David Starner
2001-05-08 22:03     ` Charles Hixson
2001-05-08 23:51       ` David Starner
2001-05-09 16:22         ` Charles Hixson
2001-05-09 22:04           ` Fraser Wilson
2001-05-09 22:33             ` Charles Hixson
2001-05-10 13:16             ` Ted Dennison
  -- strict thread matches above, loose matches on Subject: below --
2001-05-04 21:47 Beard, Frank
2001-05-07 14:13 ` Marin David Condic
2001-05-07 15:28   ` Ted Dennison
2001-05-07 16:03     ` Marin David Condic
2001-05-07 18:03       ` Ted Dennison
2001-05-07 19:00         ` Marin David Condic
2001-05-08  4:38           ` tmoran
2001-05-08  4:38           ` tmoran
2001-05-08 13:16             ` Marin David Condic
2001-05-08  4:38     ` tmoran
2001-05-08 13:24       ` Ted Dennison
2001-05-12  4:04   ` Randy Brukardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox