comp.lang.ada
 help / color / mirror / Atom feed
From: mfeldman@seas.gwu.edu (Michael Feldman)
Subject: Re: integer'image
Date: 18 Jan 91 20:32:48 GMT	[thread overview]
Message-ID: <2571@sparko.gwu.edu> (raw)
In-Reply-To: 10140@as0c.sei.cmu.edu

In article <10140@as0c.sei.cmu.edu> ae@sei.cmu.edu (Arthur Evans) writes:

>An Ada 9X Revision Request asking to eliminate this space was rejected
>by the Requirements Team.  I don't speak for the Team.  However, I've
>always assumed that the space was for symmetry with negative numbers.
>That is, +N and -N always have a 'image of the same width.
This is utter nonsense. Why not give me a width parameter such as I have in
Integer_IO already? I've always envisioned the 'image and 'value attributes
as, inter alia, a baseline of operations with which to WRITE I/O routines,
equivalent to the atoi and itoa calls in the C library. I realize you don't
speak for the team, so this flame is not aimed at you, but flame it is.

If I can't get a flush-left string out of 'image, it's virtually useless.
And if 'image and 'value aren't symmetric, why not? 'value reads past
whitespace; why should 'image give me gratuitous whitespace? Look at C.
Let me do my own padding, guys. The nonuniformity in attributes is
utterly maddening in Ada. I'll give more examples sometime.
>
>Yes, getting rid of that space is a bother.  Better is to instantiate
>Integer_IO.
Yeah, right. So what good is 'image? Any comments from Team members?

Mike Feldman

  reply	other threads:[~1991-01-18 20:32 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2563@sparko.gwu.edu>
1991-01-18 19:13 ` integer'image Arthur Evans
1991-01-18 20:32   ` Michael Feldman [this message]
1991-01-20  2:54   ` integer'image       Hoysch
1991-01-20 23:10     ` integer'image Michael Feldman
1991-01-21 15:23     ` integer'image Jerry Callen
1991-01-21 19:41       ` integer'image Steven V. Case
1991-01-21 21:54         ` integer'image Jerry Callen
1991-01-22 19:21         ` integer'image Michael Feldman
1991-01-22 21:37           ` integer'image Richard Pattis
1991-01-23 16:29             ` integer'image Michael Feldman
1991-01-18 23:05 ` integer'image (George C. Harrison) Norfolk State University
1991-01-19 10:51 ` integer'image Jean Pierre Rosen
1991-01-28  3:27 integer'image Jim West (Stealth Contractor)
1991-01-28 15:04 ` integer'image Michael Feldman
1991-01-28 23:09   ` integer'image (George C. Harrison) Norfolk State University
1991-01-29 19:55     ` integer'image stephen edwards
  -- strict thread matches above, loose matches on Subject: below --
2000-04-17  0:00 integer'image NANCY HEHIR
2000-04-17  0:00 ` integer'image Ted Dennison
2000-04-18  0:00   ` integer'image Marin D. Condic
2000-04-18  0:00     ` integer'image Ted Dennison
2000-04-18  0:00       ` integer'image Marin D. Condic
2000-04-17  0:00 ` integer'image tmoran
2000-04-19  0:00 ` integer'image MaggieJohn
replies disabled

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