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!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!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: Mon, 8 Oct 2007 20:18:44 -0500 Organization: Jacob's private Usenet server Message-ID: References: <13gbgp41ajc4071@corp.supernews.com> <1191599479.895076.191170@k79g2000hse.googlegroups.com> <13ge6d348ciln86@corp.supernews.com> <13gldqhkecs7l67@corp.supernews.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: jacob-sparre.dk 1191892552 1698 69.95.181.76 (9 Oct 2007 01:15:52 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Tue, 9 Oct 2007 01:15:52 +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:2368 Date: 2007-10-08T20:18:44-05:00 List-Id: "ME" wrote in message news:13gldqhkecs7l67@corp.supernews.com... > Thanks Randy, > > I am using Gnat 4.02 (20061211) > > A) I set the default directory using Set_directory which works. > B) I read the files into an array of strings using "search" . The strings > are padded with blanks. > C) I try an "open" using just the filename with no path and I get a > Name_error Possibly the padding blanks are significant? They certainly would be on Windows: "ME" and "ME " are different files; that might cause your Name_Error. Randy.