comp.lang.ada
 help / color / mirror / Atom feed
From: "ME" <abcdefg@nonodock.net>
Subject: Re: Default directory in Ada 2005
Date: Mon, 8 Oct 2007 22:27:53 -0700
Date: 2007-10-08T22:27:53-07:00	[thread overview]
Message-ID: <13gm4b07imk0g06@corp.supernews.com> (raw)
In-Reply-To: feeko8$1l2$1@jacob-sparre.dk

You're absolutely right I can't have the extra spaces. I never tried naming 
a file in windows with spaces at the end.
"Randy Brukardt" <randy@rrsoftware.com> wrote in message 
news:feeko8$1l2$1@jacob-sparre.dk...
> "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  5:27 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
2007-10-09  5:27           ` ME [this message]
replies disabled

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