comp.lang.ada
 help / color / mirror / Atom feed
* What good are File_Access's?
@ 1998-07-17  0:00 dennison
  1998-07-17  0:00 ` Tucker Taft
  1998-07-18  0:00 ` Robert Dewar
  0 siblings, 2 replies; 6+ messages in thread
From: dennison @ 1998-07-17  0:00 UTC (permalink / raw)


It looks to me like the whole point of the File_Access type in Ada.Text_IO is
to allow Standard_Output and Current_Output (and the same functions for Input
and Error) to be compared in order to see if I/O has been redirected somehow.
However, when I compile and execute a DOS program using ObjectAda on NT,
Ada.Text_IO.Current_Output and Ada.Text_IO.Standard_Output are *not* equal. If
I do an Ada.Text_IO to either, it gets printed in my shell window.

So if I can't use the equality operations of File_Access to see where output
is going, what was the type put in there for? There's nothing else other than
the Standard* and Current* functions that give me one, and the only
operations allowed are equality comparison and assignment.

T.E.D.

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1998-07-20  0:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-07-17  0:00 What good are File_Access's? dennison
1998-07-17  0:00 ` Tucker Taft
1998-07-18  0:00 ` Robert Dewar
1998-07-20  0:00   ` dennison
1998-07-20  0:00     ` Robert Dewar
1998-07-20  0:00       ` dennison

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