comp.lang.ada
 help / color / mirror / Atom feed
From: "Phaedrus" <phaedrusalt@hotmail.com>
Subject: Re: Missing CR/LF in Gnat files?
Date: Sun, 16 Sep 2007 15:15:43 -0700
Date: 2007-09-16T15:15:43-07:00	[thread overview]
Message-ID: <13eraofa1im9667@corp.supernews.com> (raw)
In-Reply-To: vKeHi.105741$Fc.31464@attbi_s21

Thanks for the ideas, I put together an admittedly-less-elegant solution, 
and now those files are back to readable.    Kinda makes me wonder how the 
distribution could have included the unix version of the files, especially 
since they were win32-specific stuff...

I'm not sure I wanna know.

Cheers!
Brian

"Jeffrey R. Carter" <spam.jrcarter.not@acm.nospam.org> wrote in message 
news:vKeHi.105741$Fc.31464@attbi_s21...
> Gautier wrote:
>>   while not End_of_File(Standard_input) loop
>>     Get_Line(s,l);
>>     Put_Line(s(1..l));
>>   end loop;
>
> Even better is
>
> Ada.Text_IO.Put_Line (Item => Ada.Text_IO.Get_Line);
>
> This is Ada 07; Ada-95 users can use PragmARC.Get_Line instead of 
> Ada.Text_IO.Get_Line; and Ada-83 users can modify PragmARC.Get_Line to get 
> rid of the hierarchical name.
>
> http://pragmada.home.mchsi.com/
>
> -- 
> Jeff Carter
> "Perfidious English mouse-dropping hoarders."
> Monty Python & the Holy Grail
> 10 





  reply	other threads:[~2007-09-16 22:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-15 22:19 Missing CR/LF in Gnat files? Phaedrus
2007-09-15 23:05 ` Sloan.Kohler
2007-09-15 23:25   ` Phaedrus
2007-09-16  5:16     ` Gautier
2007-09-16 18:38       ` Jeffrey R. Carter
2007-09-16 22:15         ` Phaedrus [this message]
2007-09-16 23:00 ` anon
replies disabled

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