From: Robert A Duff <bobduff@world.std.com>
Subject: Re: Binary value
Date: Mon, 2 Apr 2001 17:54:42 GMT
Date: 2001-04-02T17:54:42+00:00 [thread overview]
Message-ID: <wccelvbw5jx.fsf@world.std.com> (raw)
In-Reply-To: 3AC8AC34.CDEEB50F@boeing.com
Jeffrey Carter <jeffrey.carter@boeing.com> writes:
> Ignoring the question of what the correct algorithm is, why would you
> want to implement this (specific to binary) algorithm, when Text_IO
> already provides this capability for any base from 2 to 16? It's much
> easier and more flexible to use Text_IO.Integer_IO.Put and extract the
> part of the result between the '#'s.
Good point, but I can think of a couple of reasons why someone might
want to avoid using Text_IO at all: it's big (which matters if you care
about space, and don't have a clever linker), and it's not pragma-Pure.
I'd recommend 'Image and 'Value rather than Text_IO, even though they
have their faults, too.
- Bob
next prev parent reply other threads:[~2001-04-02 17:54 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-30 16:10 Binary value Bob Gratton
2001-03-30 16:54 ` Marin David Condic
2001-03-30 17:16 ` Bob Gratton
2001-03-30 17:41 ` Marin David Condic
2001-03-30 18:20 ` Bob Gratton
2001-03-30 19:58 ` Marin David Condic
2001-03-30 18:21 ` chris.danx
2001-03-30 20:03 ` Marin David Condic
2001-03-30 20:32 ` Smark
2001-03-30 20:45 ` Smark
2001-03-30 21:19 ` chris.danx
2001-03-31 5:23 ` Phaedrus
[not found] ` <3AC5C72F.8108A613@earthlink.net>
2001-04-01 19:52 ` Phaedrus
2001-04-01 22:04 ` Robert A Duff
2001-04-01 22:35 ` David C. Hoos, Sr.
2001-04-02 12:49 ` Marc A. Criley
2001-04-02 13:33 ` chris.danx
2001-04-02 14:33 ` Marin David Condic
2001-04-02 16:43 ` Jeffrey Carter
2001-04-02 17:36 ` chris.danx
2001-04-02 18:03 ` Robert A Duff
2001-04-02 17:54 ` Robert A Duff [this message]
2001-03-30 17:03 ` Larry Hazel
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox