From: Matthew Heaney <matthew_heaney@acm.org>
Subject: Re: String to Integer conversion?
Date: 1998/08/02
Date: 1998-08-02T00:00:00+00:00 [thread overview]
Message-ID: <m3g1fgusb8.fsf@mheaney.ni.net> (raw)
In-Reply-To: dewar.902030807@merv
dewar@merv.cs.nyu.edu (Robert Dewar) writes:
> <<Fair enough, but it would have been helpful to have a predefined
> instantiation, so that everyone (ie working programmers like me) can
> share the same one.
> >>
>
> Why?
Perhaps this is just an Ada 83 problem, because that version of Ada
didn't have the attributes Duration'Image and Duration'Value. Without
those attributes, there is a real need for a Duration_IO.
It may indeed be the case the neophyte programmers in a class-room
setting don't require the use of Duration. But they can't avoid using a
delay statement forever.
In my experience, the need for manipulation of Duration strings is
_very_ common. One thing I do quite often is to translate an
environment variable that represents the value of an entry call delay,
for example, or a timeout for I/O to an external device. This way I can
tune delays and timeouts without recompiling anything.
next prev parent reply other threads:[~1998-08-02 0:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <c1.2b8.2Lzh62$03A@zesi.ruhr.de>
1998-07-31 0:00 ` String to Integer conversion? Matthew Heaney
1998-07-31 0:00 ` daniel gaudry
[not found] ` <6ndi5d$uj3@gcsin3.geccs.gecm.com>
1998-07-31 0:00 ` Matthew Heaney
1998-07-30 0:00 ` nabbasi
1998-08-01 0:00 ` Robert Dewar
1998-08-01 0:00 ` Matthew Heaney
1998-08-02 0:00 ` Robert Dewar
1998-08-02 0:00 ` Matthew Heaney [this message]
1998-08-04 0:00 ` Robert Dewar
1998-08-04 0:00 ` Matthew Heaney
1998-08-04 0:00 ` David C. Hoos, Sr.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox