comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Default directory in Ada 2005
Date: Mon, 8 Oct 2007 20:18:44 -0500
Date: 2007-10-08T20:18:44-05:00	[thread overview]
Message-ID: <feeko8$1l2$1@jacob-sparre.dk> (raw)
In-Reply-To: 13gldqhkecs7l67@corp.supernews.com

"ME" <abcdefg@nonodock.net> 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.





  reply	other threads:[~2007-10-09  1:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <13gbgp41ajc4071@corp.supernews.com>
2007-10-05 15:51 ` Default directory in Ada 2005 Adam Beneschan
2007-10-06  5:14   ` ME
2007-10-07  2:48     ` Randy Brukardt
2007-10-08 23:03       ` ME
2007-10-09  1:18         ` Randy Brukardt [this message]
2007-10-09  5:27           ` ME
replies disabled

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