comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: question on Time_Span
Date: 1997/01/07
Date: 1997-01-07T00:00:00+00:00	[thread overview]
Message-ID: <dewar.852653211@merv> (raw)
In-Reply-To: 32D25068.17C3@ci-2.ci.pwr.wroc.pl


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.





      reply	other threads:[~1997-01-07  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-07  0:00 question on Time_Span Zbigniew Fryzlewicz
1997-01-07  0:00 ` Robert Dewar [this message]
replies disabled

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