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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e9f23ec17d6c1910 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder3.cambrium.nl!feeder5.cambrium.nl!feed.tweaknews.nl!68.142.88.75.MISMATCH!hwmnpeer01.ams!news.highwinds-media.com!news.astraweb.com!border1.a.newsrouter.astraweb.com!border2.nntp.ams.giganews.com!nntp.giganews.com!amsnews11.chello.com!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Default directory in Ada 2005 Date: Sat, 6 Oct 2007 21:48:12 -0500 Organization: Jacob's private Usenet server Message-ID: References: <13gbgp41ajc4071@corp.supernews.com> <1191599479.895076.191170@k79g2000hse.googlegroups.com> <13ge6d348ciln86@corp.supernews.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: jacob-sparre.dk 1191725122 16606 69.95.181.76 (7 Oct 2007 02:45:22 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Sun, 7 Oct 2007 02:45:22 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 Xref: g2news2.google.com comp.lang.ada:2332 Date: 2007-10-06T21:48:12-05:00 List-Id: All common target systems for Ada have the concept of a default directory, and that is built into the target system, so it would take a lot of work for any Ada compiler (of ANY vintage, including Ada 83) to ignore the default directory in file opens. The only new thing is that Ada has acknowledged the existence of this common concept. Surely, any failure to properly handle Open is a bug in a particular implementation, not of the language. (Nothing has changed in the definition of Open; the meaning of the default directory is target-specific and implementation-defined in any case.) You need to contact the vendor of your implementation, or at least tell us exactly what implementation you are referring to, in order to get any useful help. Randy. "ME" wrote in message news:13ge6d348ciln86@corp.supernews.com... > This does not appear to work. Since open was Ada 95 was it rewritten to use > default directory ? > > "Adam Beneschan" wrote in message > news:1191599479.895076.191170@k79g2000hse.googlegroups.com... > > On Oct 4, 9:52 pm, "ME" wrote: > >> If the default directory is set then can I just omit the path in "Open" > >> so that it will use it or is something else meant by default? > > > > If you mean that you've used Directories.Set_Directory to set the > > default directory, then yes, I think the default directory is supposed > > to be used for any external file names that aren't fully specified (A. > > 16(48)). > > > > -- Adam > > > > > >