comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R.Carter" <spam.jrcarter.not@spam.acm.org.not>
Subject: Re: How to test if file = Ada.Text_IO.Standard_Input ?
Date: Sat, 23 Oct 2021 12:22:36 +0200	[thread overview]
Message-ID: <sl0npe$c7c$1@dont-email.me> (raw)
In-Reply-To: <93df825f-5c18-4a02-a399-74c7ee7cf784n@googlegroups.com>

On 10/23/21 10:06, reinert wrote:
> 
> So how can I test if "file1" referes to the terminal using the lastest GNAT Community Edition?

Have you tried

Ada.Text_IO.Name (File1) = Ada.Text_IO.Name (Ada.Text_IO.Standard_Input)

? (I haven't.)

-- 
Jeff Carter
"C++: The power, elegance and simplicity of a hand grenade."
Ole-Hjalmar Kristensen
90

  reply	other threads:[~2021-10-23 10:22 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 [this message]
2021-10-23 12:28   ` reinert
2021-10-23 15:40     ` Gautier write-only address
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