From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,24a59fbc07128ff8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-04 13:52:06 PST Path: newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.251.151.101!opentransit.net!jussieu.fr!enst!enst.fr!not-for-mail From: "Beard, Frank" Newsgroups: comp.lang.ada Subject: RE: rename missing in Text_IO Date: Fri, 4 May 2001 16:50:25 -0400 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: avanie.enst.fr 989009525 80831 137.194.161.2 (4 May 2001 20:52:05 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Fri, 4 May 2001 20:52:05 +0000 (UTC) To: "'comp.lang.ada@ada.eu.org'" Return-Path: X-Mailer: Internet Mail Service (5.5.2448.0) Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: newsfeed.google.com comp.lang.ada:7178 Date: 2001-05-04T16:50:25-04:00 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