So how can I test if "file1" referes to the terminal using the lastest GNAT Community Edition?
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
Yes, now it compiles !
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.)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 379 |
Nodes: | 16 (2 / 14) |
Uptime: | 44:15:54 |
Calls: | 8,141 |
Calls today: | 4 |
Files: | 13,085 |
Messages: | 5,857,953 |