From: Gautier write-only address <gautier_niouzes@hotmail.com>
Subject: Re: How to test if file = Ada.Text_IO.Standard_Input ?
Date: Sat, 23 Oct 2021 08:40:37 -0700 (PDT) [thread overview]
Message-ID: <7e038890-f387-43a2-89fe-00211c0b82dfn@googlegroups.com> (raw)
In-Reply-To: <1f4b8c1e-a74f-4d43-8136-1868d598595an@googlegroups.com>
Le samedi 23 octobre 2021 à 14:28:24 UTC+2, reinert a écrit :
> Yes, now it compiles !
Interesting to see what name GNAT gives to Standard_Input:
with Ada.Text_IO;
procedure SIO is
begin
Ada.Text_IO.Put_Line ('[' & Ada.Text_IO.Name (Ada.Text_IO.Standard_Input) & ']');
Ada.Text_IO.Put_Line ('[' & Ada.Text_IO.Name (Ada.Text_IO.Standard_Error) & ']');
end;
[*stdin]
[*stderr]
next prev parent reply other threads:[~2021-10-23 15:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-23 8:06 How to test if file = Ada.Text_IO.Standard_Input ? reinert
2021-10-23 10:22 ` Jeffrey R.Carter
2021-10-23 12:28 ` reinert
2021-10-23 15:40 ` Gautier write-only address [this message]
2021-10-24 20:51 ` Keith Thompson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox