* question on Time_Span
@ 1997-01-07 0:00 Zbigniew Fryzlewicz
1997-01-07 0:00 ` Robert Dewar
0 siblings, 1 reply; 2+ messages in thread
From: Zbigniew Fryzlewicz @ 1997-01-07 0:00 UTC (permalink / raw)
I need to input/output valus of Time_Span variables declared in
Ada.Real_time package. I know how to do it "indirectly" (via conversion
from Duration type). Is it however possible to instantiate Ada.Text_io
generic package to input/output Time_Span variables directly?
I am using both ObjectAda/Windows NT and GNAT 3.07/Sun/Solaris
I would appreciate any hints.
Zbig Fryzlewicz
TU Wroclaw, Poland
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: question on Time_Span
1997-01-07 0:00 question on Time_Span Zbigniew Fryzlewicz
@ 1997-01-07 0:00 ` Robert Dewar
0 siblings, 0 replies; 2+ messages in thread
From: Robert Dewar @ 1997-01-07 0:00 UTC (permalink / raw)
Zbig asks
"I need to input/output valus of Time_Span variables declared in
Ada.Real_time package. I know how to do it "indirectly" (via conversion
from Duration type). Is it however possible to instantiate Ada.Text_io
generic package to input/output Time_Span variables directly?"
Of course not, you can only instantiate the generic packages in Text_IO
on appropriate types, and Time_Span is a private type. The whole point is
that you CANNOT assume anything at all about the representation of
Time_Span.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-01-07 0:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-01-07 0:00 question on Time_Span Zbigniew Fryzlewicz
1997-01-07 0:00 ` Robert Dewar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox