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=-0.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no 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 07:01:28 PST Path: newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.esat.net!newsfeed2.news.nl.uu.net!sun4nl!reader1.news.nl.uu.net!not-for-mail From: serious@clerk.com (Noam Kloos) Newsgroups: comp.lang.ada Subject: Re: rename missing in Text_IO Date: Fri, 04 May 2001 14:00:55 GMT Organization: Interspective Internet Services Message-ID: <3af2b51c.23213509@news.nl.uu.net> References: <3af28c5a.12778070@news.nl.uu.net> <3myI6.1012$vg1.75928@www.newsranger.com> Reply-To: serious@clerk.com NNTP-Posting-Host: lando.interspective.nl X-Trace: porthos.nl.uu.net 988984887 19434 193.78.225.114 (4 May 2001 14:01:27 GMT) X-Complaints-To: abuse@nl.uu.net NNTP-Posting-Date: 4 May 2001 14:01:27 GMT X-Newsreader: Forte Free Agent 1.21/32.243 Xref: newsfeed.google.com comp.lang.ada:7151 Date: 2001-05-04T14:01:27+00:00 List-Id: On Fri, 04 May 2001 13:43:27 GMT, Ted Dennison wrote: >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. > I did a workaround for the rename effect. see my zip file http://www.noam.nl/download/stripit.zip I read a file into a new one, then delete the sourcefile and close the destinationfile with the different name. Noam.